|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.cache.eviction.BaseEvictionPolicy
org.jboss.cache.eviction.ExpirationPolicy
public class ExpirationPolicy
Returns the ExpirationAlgorithm
as the policy's algorithm.
Field Summary |
---|
Fields inherited from class org.jboss.cache.eviction.BaseEvictionPolicy |
---|
cache_ |
Constructor Summary | |
---|---|
ExpirationPolicy()
|
Method Summary | |
---|---|
boolean |
canIgnoreEvent(Fqn fqn,
NodeEventType eventType)
Returns true if it's a visit node event. |
EvictionAlgorithm |
getEvictionAlgorithm()
Get the associated EvictionAlgorithm used by the EvictionPolicy. |
java.lang.Class<ExpirationConfiguration> |
getEvictionConfigurationClass()
The EvictionPolicyConfig implementation class used by this EvictionPolicy. |
Methods inherited from class org.jboss.cache.eviction.BaseEvictionPolicy |
---|
evict, getCache, setCache |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExpirationPolicy()
Method Detail |
---|
public EvictionAlgorithm getEvictionAlgorithm()
EvictionPolicy
public java.lang.Class<ExpirationConfiguration> getEvictionConfigurationClass()
EvictionPolicy
public boolean canIgnoreEvent(Fqn fqn, NodeEventType eventType)
canIgnoreEvent
in interface EvictionPolicy
canIgnoreEvent
in class BaseEvictionPolicy
fqn
- The Fqn of the node associated with the event.eventType
- the type of the event
true
to ignore events of this type for this Fqn,
false
to process events normally.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |