public class CounterManagerImpl extends java.lang.Object implements CounterManager
CounterManager.| Constructor and Description |
|---|
CounterManagerImpl(java.util.Timer timer)
Constructor that accepts a timer that will be used for scheduling sampled
counter if any is created
|
| Modifier and Type | Method and Description |
|---|---|
Counter |
createCounter(CounterConfig config)
Creates a Counter based on tha passed config
|
void |
shutdown(boolean killTimer)
Shuts down this counter manager
|
void |
shutdownCounter(Counter counter)
Shuts down the counter
|
public CounterManagerImpl(java.util.Timer timer)
public void shutdown(boolean killTimer)
shutdown in interface CounterManagerpublic Counter createCounter(CounterConfig config)
createCounter in interface CounterManagerpublic void shutdownCounter(Counter counter)
shutdownCounter in interface CounterManagerCopyright IBM Corp. 2024, 2025