|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.ehcache.util.counter.CounterManagerImpl
public class CounterManagerImpl
An implementation of a CounterManager
.
Constructor Summary | |
---|---|
CounterManagerImpl(FailSafeTimer timer)
Constructor that accepts a timer that will be used for scheduling sampled counter if any is created |
Method Summary | |
---|---|
void |
addCounter(Counter counter)
Adds a counter. |
Counter |
createCounter(CounterConfig config)
Creates a Counter based on the passed config |
void |
shutdown()
Shuts down this counter manager |
void |
shutdownCounter(Counter counter)
Shuts down the counter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CounterManagerImpl(FailSafeTimer timer)
Method Detail |
---|
public void shutdown()
shutdown
in interface CounterManager
public Counter createCounter(CounterConfig config)
createCounter
in interface CounterManager
public void addCounter(Counter counter)
addCounter
in interface CounterManager
public void shutdownCounter(Counter counter)
shutdownCounter
in interface CounterManager
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |