Package com.evolveum.midpoint.repo.cache
Class CacheCounterManager
- java.lang.Object
-
- com.evolveum.midpoint.repo.cache.CacheCounterManager
-
- All Implemented Interfaces:
CounterManager
@Component public class CacheCounterManager extends Object implements CounterManager
- Author:
- katka
-
-
Constructor Summary
Constructors Constructor Description CacheCounterManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cleanupCounters(String taskOid)
CounterSpecification
getCounterSpec(TaskType task, String policyRuleId, PolicyRuleType policyRule)
Collection<CounterSpecification>
listCounters()
CounterSpecification
registerCounter(TaskType task, String policyRuleId, PolicyRuleType policyRule)
void
removeCounter(CounterSpecification counterSpecification)
void
resetCounters(String taskOid)
-
-
-
Method Detail
-
registerCounter
public CounterSpecification registerCounter(TaskType task, String policyRuleId, PolicyRuleType policyRule)
-
cleanupCounters
public void cleanupCounters(String taskOid)
- Specified by:
cleanupCounters
in interfaceCounterManager
-
resetCounters
public void resetCounters(String taskOid)
- Specified by:
resetCounters
in interfaceCounterManager
-
getCounterSpec
public CounterSpecification getCounterSpec(TaskType task, String policyRuleId, PolicyRuleType policyRule)
- Specified by:
getCounterSpec
in interfaceCounterManager
-
listCounters
public Collection<CounterSpecification> listCounters()
- Specified by:
listCounters
in interfaceCounterManager
-
removeCounter
public void removeCounter(CounterSpecification counterSpecification)
- Specified by:
removeCounter
in interfaceCounterManager
-
-