Package org.quartz.utils.counter
Interface CounterManager
-
- All Known Implementing Classes:
CounterManagerImpl
public interface CounterManagerA Counter Manager that accepts a config to create counters. Creates counter's based onCounterConfig. This manages the lifecycle of a counter- Since:
- 1.8
- Author:
- Abhishek Sanoujam
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CountercreateCounter(CounterConfig config)Creates a Counter based on tha passed configvoidshutdown(boolean killTimer)Shuts down this counter managervoidshutdownCounter(Counter counter)Shuts down the counter
-
-
-
Method Detail
-
createCounter
Counter createCounter(CounterConfig config)
Creates a Counter based on tha passed config- Parameters:
config-- Returns:
- The counter created and managed by this CounterManager
-
shutdown
void shutdown(boolean killTimer)
Shuts down this counter manager
-
shutdownCounter
void shutdownCounter(Counter counter)
Shuts down the counter- Parameters:
counter-
-
-