com.palantir.opensource.sysmon
Interface Monitor

All Known Implementing Classes:
LinuxDiskspaceJMXWrapper, LinuxEntropyLevelJMXWrapper, LinuxIOStatJMXWrapper, LinuxLoadAverageJMXWrapper, LinuxNetStatJMXWrapper, LinuxVMStatJMXWrapper

public interface Monitor

An interface for metric-specific montiors, each reading and publishing values from a source on the machine.

Construction of a Monitor object must not start any background processes. startMonitoring() must be called to start up the background routines.

A call to stopMonitoring() will shut down and clean up any background processes and data processing threads.

A Monitor object may not be restarted. Construct a new instance rather calling startMonitoring() after calling stopMonitoring().


Method Summary
 void startMonitoring()
           
 void stopMonitoring()
           
 

Method Detail

startMonitoring

void startMonitoring()
                     throws SysmonException
Throws:
SysmonException

stopMonitoring

void stopMonitoring()
                    throws InterruptedException
Throws:
InterruptedException


Copyright © 2012 Palantir Technologies. All Rights Reserved.