|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jonas.lib.jmbeans.monitoring.MemoryMonitoring
public class MemoryMonitoring
| Constructor Summary | |
|---|---|
MemoryMonitoring()
|
|
| Method Summary | |
|---|---|
boolean |
getActivated()
|
int |
getRange()
Get range. |
int |
getSizeTableMeasures()
Get the size of the table of measures. |
Long[] |
getTableMeasures()
Get the table of value. |
TimerManager |
getTimerManager()
|
void |
setActivated(boolean pActivated)
|
void |
setRange(int range)
set range |
void |
setSizeTableMeasures(int sizeMeasuresTable)
Set the size of the table of measures |
void |
setTimerManager(TimerManager timerManager)
|
void |
timeoutExpired(Object arg)
The measures timeout has expired. |
long |
totalMemory()
Private function for monitoring. |
long |
usedMemory()
private function for monitoring |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MemoryMonitoring()
| Method Detail |
|---|
public Long[] getTableMeasures()
public boolean getActivated()
public void setActivated(boolean pActivated)
public int getRange()
public void setRange(int range)
range - range for free memory measurementpublic int getSizeTableMeasures()
public void setSizeTableMeasures(int sizeMeasuresTable)
sizeMeasuresTable - Number of measurespublic void timeoutExpired(Object arg)
timeoutExpired in interface TimerEventListenerarg - Objectpublic long usedMemory()
public long totalMemory()
public TimerManager getTimerManager()
public void setTimerManager(TimerManager timerManager)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||