Class Collector
java.lang.Object
net.bull.javamelody.internal.model.Collector
Collecteur de données sur les compteurs, avec son propre thread, pour remplir les courbes.
- Author:
- Emeric Vernat
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidcollectWithoutErrors(List<JavaInformations> javaInformationsList) static voidRetourne le code de l'application.getCounterByName(String counterName) getCounterByRequestId(CounterRequest request) longlonglonggetRangeCounter(Range range, String counterName) getRangeCounters(Range range) getRootCurrentContexts(List<Counter> newParentCounters) Retourne leSamplingProfiler.booleanbooleanvoidstop()static voidtoString()
-
Constructor Details
-
Collector
Constructeur.- Parameters:
application- Code de l'applicationcounters- Liste des counters
-
Collector
Constructeur.- Parameters:
application- Code de l'applicationcounters- Liste des counterssamplingProfiler- SamplingProfiler
-
-
Method Details
-
getApplication
Retourne le code de l'application.- Returns:
- String
-
getSamplingProfiler
Retourne leSamplingProfiler.- Returns:
- SamplingProfiler
-
getHotspots
-
getDatesByWebappVersions
-
getCounters
- Returns:
- La liste des
Counters de ce collector
-
getCounterByName
- Parameters:
counterName- Nom d'un counter- Returns:
- Le counter de ce collector ayant ce nom ou null si non trouvé
-
getCounterByRequestId
-
getRootCurrentContexts
-
getLastCollectDuration
public long getLastCollectDuration() -
getLastCollectorException
-
getEstimatedMemorySize
public long getEstimatedMemorySize() -
getDiskUsage
public long getDiskUsage() -
getRangeCounters
- Throws:
IOException
-
getRangeCountersToBeDisplayed
- Throws:
IOException
-
getRangeCounter
- Throws:
IOException
-
collectLocalContextWithoutErrors
public void collectLocalContextWithoutErrors() -
collectWithoutErrors
-
getJRobin
- Throws:
IOException
-
getCounterJRobins
-
getDisplayedCounterJRobins
-
getDisplayedOtherJRobins
-
isStorageUsedByMultipleInstances
public boolean isStorageUsedByMultipleInstances() -
stop
public void stop() -
isStopped
public boolean isStopped() -
stopJRobin
public static void stopJRobin() -
detachVirtualMachine
public static void detachVirtualMachine() -
toString
-