public class ScheduledStatisticsHolder extends Object
Constructor and Description |
---|
ScheduledStatisticsHolder() |
Modifier and Type | Method and Description |
---|---|
void |
cancelMonitor(boolean mayInterruptIfRunning)
Should be called under lock.
|
int |
decrementAndGetRefCount()
Should be called under lock.
|
int |
getAndIncrementRefCount()
Should be called under lock.
|
int |
getStatisticsHistorySize() |
long |
getStatisticsInterval() |
boolean |
isMonitoring()
Should be called under lock.
|
void |
updateMonitor(ScheduledFuture<?> scheduledFuture)
Should be called under lock.
|
void |
updateStatisticsHistorySize(int statisticsHistorySize)
Should be called under lock.
|
void |
updateStatisticsInterval(long interval,
TimeUnit timeUnit)
Should be called under lock.
|
public long getStatisticsInterval()
public void updateStatisticsInterval(long interval, TimeUnit timeUnit)
public int getStatisticsHistorySize()
public void updateStatisticsHistorySize(int statisticsHistorySize)
public void cancelMonitor(boolean mayInterruptIfRunning)
public void updateMonitor(ScheduledFuture<?> scheduledFuture)
public int getAndIncrementRefCount()
public int decrementAndGetRefCount()
public boolean isMonitoring()
Copyright © GigaSpaces.