public class PlatformStatsPlugIn extends Object implements IPlugIn<Journal,AbstractStatisticsCollector>
IPlugin for collecting statistics from the operating system.| Modifier and Type | Class and Description |
|---|---|
static interface |
PlatformStatsPlugIn.Options |
| Constructor and Description |
|---|
PlatformStatsPlugIn() |
| Modifier and Type | Method and Description |
|---|---|
AbstractStatisticsCollector |
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)
Start collecting performance counters from the OS (if enabled).
startService in interface IPlugIn<Journal,AbstractStatisticsCollector>public void stopService(boolean immediateShutdown)
NOP - Collection is on the JVM and the OS. If it is shutdown with each
Journal shutdown, then collection would wind up disabled with the
first Journal shutdown even if there is more than one open
Journal.
stopService in interface IPlugIn<Journal,AbstractStatisticsCollector>immediateShutdown - true if the service should be stopped
immediately.public AbstractStatisticsCollector getService()
IPlugIngetService in interface IPlugIn<Journal,AbstractStatisticsCollector>public boolean isRunning()
IPlugInisRunning in interface IPlugIn<Journal,AbstractStatisticsCollector>Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.