arlut.csd.ganymede
Class memoryStatusTask

java.lang.Object
  |
  +--arlut.csd.ganymede.memoryStatusTask
All Implemented Interfaces:
java.lang.Runnable, silentTask

class memoryStatusTask
extends java.lang.Object
implements java.lang.Runnable, silentTask

Runnable class to update the memory status fields in the admin console. Registered with the GanymedeScheduler by registerTasks(), to run every minute.


Field Summary
(package private) static int count
           
(package private) static boolean debug
          The debug flag in memoryStatusTask is used to control whether memoryStatusTask will log memory usage to Ganymede's standard error log.
(package private) static int period
          The period value is used to set how often the memory statistics will be logged to Ganymede's standard error log.
 
Constructor Summary
memoryStatusTask()
           
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

debug

static final boolean debug

The debug flag in memoryStatusTask is used to control whether memoryStatusTask will log memory usage to Ganymede's standard error log. This is useful for tracking memory usage patterns.

See Also:
Constant Field Values

period

static final int period

The period value is used to set how often the memory statistics will be logged to Ganymede's standard error log. This period value is counted in terms of the number of runs of the memoryStatusTask. By default, memoryStatusTask is run once a minute from the Ganymede scheduler, so the period count is minutes.

See Also:
Constant Field Values

count

static int count
Constructor Detail

memoryStatusTask

public memoryStatusTask()
Method Detail

run

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