public class CounterManager extends Object implements ICounterManager
ICounterManager.| Constructor and Description |
|---|
CounterManager(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 |
|---|---|
ICounter |
createCounter(CounterConfig config)
Creates a Counter based on tha passed config
|
void |
shutdown(boolean killTimer)
Shuts down this counter manager
|
void |
shutdownCounter(ICounter counter)
Shuts down the counter
|
public void shutdown(boolean killTimer)
shutdown in interface ICounterManagerpublic ICounter createCounter(CounterConfig config)
createCounter in interface ICounterManagerpublic void shutdownCounter(ICounter counter)
shutdownCounter in interface ICounterManagerCopyright © 2016–2021 Philip Helger. All rights reserved.