Class RemoteCollector
java.lang.Object
net.bull.javamelody.internal.model.RemoteCollector
Collecteur de données pour une application sur un ou plusieurs serveur(s) distant(s) :
utilisé par serveur de collecte et par IHM Swing.
- Author:
- Emeric Vernat
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncollectDatabaseInformations(int requestIndex) collectJndiBindings(String path) byte[]collectJRobin(String graphName, int width, int height) collectJRobins(int width, int height) collectOtherJRobins(int width, int height) collectSessionInformations(String sessionId) collectSqlRequestExplainPlan(String sqlRequest) voidexecuteActionAndCollectData(Action action, String counterName, String sessionId, String threadId, String jobId, String cacheId) static StringgetHostAndPort(URL url) getURLs()voidsetCookies(String cookies) void
-
Constructor Details
-
RemoteCollector
Constructeur.- Parameters:
application- Nom de l'applicationurls- URLs- Throws:
IOException- e
-
-
Method Details
-
collectDataIncludingCurrentRequests
- Throws:
IOException
-
executeActionAndCollectData
public String executeActionAndCollectData(Action action, String counterName, String sessionId, String threadId, String jobId, String cacheId) throws IOException - Throws:
IOException
-
collectSessionInformations
- Throws:
IOException
-
collectHotspots
- Throws:
IOException
-
collectHeapHistogram
- Throws:
IOException
-
collectDatabaseInformations
- Throws:
IOException
-
collectConnectionInformations
- Throws:
IOException
-
collectProcessInformations
- Throws:
IOException
-
collectJndiBindings
- Throws:
IOException
-
collectMBeans
- Throws:
IOException
-
collectWebappDependencies
- Throws:
IOException
-
collectWebappVersions
- Throws:
IOException
-
collectCurrentRequests
public Map<JavaInformations,List<CounterRequestContext>> collectCurrentRequests() throws IOException- Throws:
IOException
-
collectJRobins
- Throws:
IOException
-
collectOtherJRobins
- Throws:
IOException
-
collectJRobin
- Throws:
IOException
-
collectSqlRequestExplainPlan
- Throws:
IOException
-
getHostAndPort
-
getApplication
-
getURLs
-
getCollector
-
getJavaInformationsList
-
getCurrentRequests
-
setURLs
-
setCookies
-
disableAggregation
public void disableAggregation()
-