org.infinispan.eviction
Class ActivationManagerImpl
java.lang.Object
org.infinispan.eviction.ActivationManagerImpl
- All Implemented Interfaces:
- ActivationManager
public class ActivationManagerImpl
- extends Object
- implements ActivationManager
Concrete implementation of activation logic manager.
- Since:
- 5.2
- Author:
- Galder ZamarreƱo
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActivationManagerImpl
public ActivationManagerImpl()
inject
public void inject(CacheLoaderManager clm,
Configuration cfg)
start
public void start()
activate
public void activate(Object key)
- Description copied from interface:
ActivationManager
- Remove key and associated value from cache store
and update the activation counter.
- Specified by:
activate
in interface ActivationManager
- Parameters:
key
- Key to remove
getActivationCount
public long getActivationCount()
- Description copied from interface:
ActivationManager
- Get number of activations executed.
- Specified by:
getActivationCount
in interface ActivationManager
- Returns:
- A long representing the number of activations
getActivations
public String getActivations()
resetStatistics
public void resetStatistics()
Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.