net.sf.jfilesync.engine
Class CapivaraSystemTracker

java.lang.Object
  extended by net.sf.jfilesync.engine.CapivaraSystemTracker
All Implemented Interfaces:
java.lang.Runnable, CapivaraService

public class CapivaraSystemTracker
extends java.lang.Object
implements java.lang.Runnable, CapivaraService


Field Summary
private  long FETCHING_STATS_TIMEOUT
           
private  boolean isRunning
           
private  boolean shutdown
           
 
Constructor Summary
CapivaraSystemTracker()
           
 
Method Summary
 void run()
           
 void startService()
           
 void stopService()
           
private  void updateJvmStatistics()
           
private  void updateMainStats()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

isRunning

private boolean isRunning

shutdown

private boolean shutdown

FETCHING_STATS_TIMEOUT

private final long FETCHING_STATS_TIMEOUT
See Also:
Constant Field Values
Constructor Detail

CapivaraSystemTracker

public CapivaraSystemTracker()
Method Detail

startService

public void startService()
Specified by:
startService in interface CapivaraService

stopService

public void stopService()
Specified by:
stopService in interface CapivaraService

run

public void run()
Specified by:
run in interface java.lang.Runnable

updateJvmStatistics

private void updateJvmStatistics()

updateMainStats

private void updateMainStats()