public abstract class AbstractMonitor extends Object implements Monitor
| Constructor and Description |
|---|
AbstractMonitor() |
| Modifier and Type | Method and Description |
|---|---|
int |
getHistorySize()
The history log size that will be kept for this monitor.
|
String |
getName()
Returns the name of the monitor.
|
long |
getPeriod()
The period this monitor will be sampled (in milliseconds).
|
void |
setHistorySize(int historySize)
The history log size that will be kept for this monitor.
|
void |
setName(String name)
Sets the name of the monitor.
|
void |
setPeriod(long period)
The period this monitor will be sampled (in milliseconds).
|
public String getName()
public void setName(String name)
public long getPeriod()
public void setPeriod(long period)
public int getHistorySize()
getHistorySize in interface Monitorpublic void setHistorySize(int historySize)
Copyright © GigaSpaces.