org.infinispan.eviction
Class ActivationManagerImpl

java.lang.Object
  extended by 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

Constructor Summary
ActivationManagerImpl()
           
 
Method Summary
 void activate(Object key)
          Remove key and associated value from cache store and update the activation counter.
 long getActivationCount()
          Get number of activations executed.
 String getActivations()
           
 void inject(CacheLoaderManager clm, Configuration cfg)
           
 void resetStatistics()
           
 void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActivationManagerImpl

public ActivationManagerImpl()
Method Detail

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.