public class ActivationManagerImpl extends Object implements ActivationManager
Constructor and Description |
---|
ActivationManagerImpl() |
Modifier and Type | Method and Description |
---|---|
long |
getActivationCount()
Get number of activations executed.
|
String |
getActivations() |
void |
inject(PersistenceManager clm,
Configuration cfg,
ClusteringDependentLogic cdl) |
void |
onRemove(Object key,
boolean newEntry)
Remove key and associated value from cache store and update the activation counter.
|
void |
onUpdate(Object key,
boolean newEntry)
Remove key and associated value from cache store and update the activation counter.
|
void |
resetStatistics() |
void |
start() |
public void inject(PersistenceManager clm, Configuration cfg, ClusteringDependentLogic cdl)
public void start()
public void onUpdate(Object key, boolean newEntry)
ActivationManager
onUpdate
in interface ActivationManager
key
- Key to removenewEntry
- true
if the entry does not exists in-memorypublic void onRemove(Object key, boolean newEntry)
ActivationManager
onRemove
in interface ActivationManager
key
- Key to activatenewEntry
- true
if the entry does not exists in-memorypublic long getActivationCount()
ActivationManager
getActivationCount
in interface ActivationManager
public String getActivations()
public void resetStatistics()
Copyright © 2020 JBoss, a division of Red Hat. All rights reserved.