|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.cache.eviction.Region
public class Region
A region is a collection of tree cache nodes that share the same eviction policy configurations, e.g., maxNodes, etc. The region is specified via Fqn.
Field Summary | |
---|---|
protected int |
checkCapacityCount
|
protected org.apache.commons.logging.Log |
log_
|
protected EDU.oswego.cs.dl.util.concurrent.BoundedLinkedQueue |
nodeEventQueue_
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
EvictionConfiguration |
getEvictionConfiguration()
|
EvictionPolicy |
getEvictionPolicy()
|
java.lang.String |
getFqn()
Returns the region as a string with a / at the end. |
Fqn |
getFqnObject()
Returns the region as a Fqn object. |
int |
hashCode()
|
int |
nodeEventQueueSize()
|
void |
putNodeEvent(EvictedEventNode event)
|
void |
putNodeEvent(Fqn fqn,
int event)
|
void |
resetEvictionQueues()
|
void |
setAddedNode(Fqn fqn)
|
void |
setEvictionConfiguration(EvictionConfiguration configuration)
|
void |
setMaxNodes(int maxSize)
Deprecated. DO NOT USE. THIS IS PROVIDED FOR EJB3 INTEGRATION WITH LEGACY JBCache 1.2 API |
void |
setRemovedNode(Fqn fqn)
|
void |
setTimeToLiveSeconds(long timeToLive)
Deprecated. DO NOT USE. THIS IS PROVIDED FOR EJB3 INTEGRATION WITH LEGACY JBCache 1.2 API |
void |
setVisitedNode(Fqn fqn)
|
EvictedEventNode |
takeLastEventNode()
Take the last node from node queue. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected EDU.oswego.cs.dl.util.concurrent.BoundedLinkedQueue nodeEventQueue_
protected org.apache.commons.logging.Log log_
protected int checkCapacityCount
Method Detail |
---|
public EvictionConfiguration getEvictionConfiguration()
public void setEvictionConfiguration(EvictionConfiguration configuration)
public EvictionPolicy getEvictionPolicy()
public java.lang.String getFqn()
public Fqn getFqnObject()
public void setAddedNode(Fqn fqn)
public void setRemovedNode(Fqn fqn)
public void setVisitedNode(Fqn fqn)
public void putNodeEvent(Fqn fqn, int event)
public void putNodeEvent(EvictedEventNode event)
public EvictedEventNode takeLastEventNode()
public int nodeEventQueueSize()
public void resetEvictionQueues()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public void setTimeToLiveSeconds(long timeToLive)
public void setMaxNodes(int maxSize)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |