public class CounterManagerImpl extends Object implements CounterManager
CounterManager.| Constructor and Description |
|---|
CounterManagerImpl(FailSafeTimer timer)
Constructor that accepts a timer that will be used for scheduling sampled
counter if any is created
|
| Modifier and Type | Method and Description |
|---|---|
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
|
public CounterManagerImpl(FailSafeTimer timer)
public void shutdown()
shutdown in interface CounterManagerpublic Counter createCounter(CounterConfig config)
createCounter in interface CounterManagerpublic void addCounter(Counter counter)
addCounter in interface CounterManagerpublic void shutdownCounter(Counter counter)
shutdownCounter in interface CounterManagerCopyright © 2003-2014 Terracotta, Inc.. All Rights Reserved.