public class QueueStatsPlugIn extends Object implements IPlugIn<Journal,ThreadPoolExecutorBaseStatisticsTask>
ExecutorService. This collects interesting
statistics about the thread pool for reporting to the load balancer service.| Modifier and Type | Class and Description |
|---|---|
static interface |
QueueStatsPlugIn.Options
Performance counters options.
|
| Constructor and Description |
|---|
QueueStatsPlugIn() |
| Modifier and Type | Method and Description |
|---|---|
ThreadPoolExecutorBaseStatisticsTask |
getService()
Return the service.
|
boolean |
isRunning()
Return true iff the service is running.
|
void |
startService(Journal indexManager)
Start the service.
|
void |
stopService(boolean immediateShutdown)
Stop the service.
|
public void startService(Journal indexManager)
Setup sampling on the client's thread pool.
startService in interface IPlugIn<Journal,ThreadPoolExecutorBaseStatisticsTask>public void stopService(boolean immediateShutdown)
IPlugInstopService in interface IPlugIn<Journal,ThreadPoolExecutorBaseStatisticsTask>immediateShutdown - true if the service should be stopped
immediately.public ThreadPoolExecutorBaseStatisticsTask getService()
IPlugIngetService in interface IPlugIn<Journal,ThreadPoolExecutorBaseStatisticsTask>public boolean isRunning()
IPlugInisRunning in interface IPlugIn<Journal,ThreadPoolExecutorBaseStatisticsTask>Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.