com.voidsearch.voidbase.supervision
Class StorageStats
java.lang.Object
com.voidsearch.voidbase.supervision.StorageStats
public class StorageStats
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StorageStats
public StorageStats(SupervisedStorage storage)
setState
public void setState(StorageStats.State newState)
addCounter
public void addCounter(StorageStats.Counter counter)
setCounter
public void setCounter(StorageStats.Counter counter,
long value)
incrementCounter
public void incrementCounter(StorageStats.Counter counter)
incrementCounter
public void incrementCounter(StorageStats.Counter counter,
int increment)
getState
public StorageStats.State getState()
getCounter
public long getCounter(StorageStats.Counter counter)
throws StorageException
- Throws:
StorageException
getStats
public java.lang.String getStats()
Copyright © 2009. All Rights Reserved.