Package | Description |
---|---|
org.jboss.cache.eviction |
Modifier and Type | Method and Description |
---|---|
NodeEntry |
LRUQueue.getFirstLRUNodeEntry() |
NodeEntry |
LRUQueue.getFirstMaxAgeNodeEntry() |
NodeEntry |
MRUQueue.getFirstNodeEntry()
Will return the first entry in the nodeMap.
|
NodeEntry |
FIFOQueue.getFirstNodeEntry() |
NodeEntry |
NullEvictionQueue.getFirstNodeEntry()
Returns
null |
NodeEntry |
LFUQueue.getFirstNodeEntry()
Return the first node to evict.
|
NodeEntry |
EvictionQueue.getFirstNodeEntry()
Get the first entry in the queue.
|
NodeEntry |
ElementSizeQueue.getFirstNodeEntry() |
NodeEntry |
LRUQueue.getFirstNodeEntry() |
NodeEntry |
MRUQueue.getNodeEntry(Fqn fqn) |
NodeEntry |
FIFOQueue.getNodeEntry(Fqn fqn) |
NodeEntry |
NullEvictionQueue.getNodeEntry(Fqn fqn)
Returns
null |
NodeEntry |
LFUQueue.getNodeEntry(Fqn fqn) |
NodeEntry |
EvictionQueue.getNodeEntry(Fqn fqn)
Retrieve a node entry by Fqn.
|
NodeEntry |
ElementSizeQueue.getNodeEntry(Fqn fqn) |
NodeEntry |
LRUQueue.getNodeEntry(Fqn fqn) |
NodeEntry |
MRUQueue.getNodeEntry(String fqn) |
NodeEntry |
FIFOQueue.getNodeEntry(String fqn) |
NodeEntry |
NullEvictionQueue.getNodeEntry(String fqn)
Returns
null |
NodeEntry |
LFUQueue.getNodeEntry(String fqn) |
NodeEntry |
EvictionQueue.getNodeEntry(String fqn) |
NodeEntry |
ElementSizeQueue.getNodeEntry(String fqn) |
NodeEntry |
LRUQueue.getNodeEntry(String fqn) |
Modifier and Type | Method and Description |
---|---|
protected List<NodeEntry> |
LFUQueue.getEvictionList() |
protected List<NodeEntry> |
ElementSizeQueue.getEvictionList() |
protected Set<NodeEntry> |
LFUQueue.getRemovalQueue() |
protected Set<NodeEntry> |
ElementSizeQueue.getRemovalQueue() |
protected Iterator<NodeEntry> |
LRUQueue.iterateLRUQueue() |
protected Iterator<NodeEntry> |
LRUQueue.iterateMaxAgeQueue() |
Iterator<NodeEntry> |
MRUQueue.iterator() |
Iterator<NodeEntry> |
FIFOQueue.iterator() |
Iterator<NodeEntry> |
NullEvictionQueue.iterator()
Returns an
Iterator whose
hasNext() returns false . |
Iterator<NodeEntry> |
LFUQueue.iterator() |
Iterator<NodeEntry> |
ElementSizeQueue.iterator() |
Iterator<NodeEntry> |
LRUQueue.iterator() |
Modifier and Type | Method and Description |
---|---|
void |
MRUQueue.addNodeEntry(NodeEntry entry) |
void |
FIFOQueue.addNodeEntry(NodeEntry entry) |
void |
NullEvictionQueue.addNodeEntry(NodeEntry entry)
No-op
|
void |
LFUQueue.addNodeEntry(NodeEntry entry) |
void |
EvictionQueue.addNodeEntry(NodeEntry entry)
Add a NodeEntry to the queue.
|
void |
ElementSizeQueue.addNodeEntry(NodeEntry entry) |
void |
LRUQueue.addNodeEntry(NodeEntry entry) |
int |
LFUQueue.LFUComparator.compare(NodeEntry ne1,
NodeEntry ne2) |
int |
ElementSizeQueue.MaxElementComparator.compare(NodeEntry ne1,
NodeEntry ne2) |
boolean |
MRUQueue.containsNodeEntry(NodeEntry entry) |
boolean |
FIFOQueue.containsNodeEntry(NodeEntry entry) |
boolean |
NullEvictionQueue.containsNodeEntry(NodeEntry entry)
Returns
false |
boolean |
LFUQueue.containsNodeEntry(NodeEntry entry) |
boolean |
EvictionQueue.containsNodeEntry(NodeEntry entry)
Check if queue contains the given NodeEntry.
|
boolean |
ElementSizeQueue.containsNodeEntry(NodeEntry entry) |
boolean |
LRUQueue.containsNodeEntry(NodeEntry entry) |
protected void |
LRUAlgorithm.evict(NodeEntry ne) |
protected void |
BaseEvictionAlgorithm.evict(NodeEntry ne) |
protected boolean |
BaseEvictionAlgorithm.isNodeInUseAndNotTimedOut(NodeEntry ne) |
protected boolean |
BaseEvictionAlgorithm.isYoungerThanMinimumTimeToLive(NodeEntry entry)
Tests whether a node entry is younger than the minimum time to live - if one is configured.
|
void |
MRUQueue.removeNodeEntry(NodeEntry entry) |
void |
FIFOQueue.removeNodeEntry(NodeEntry entry) |
void |
NullEvictionQueue.removeNodeEntry(NodeEntry entry)
No-op
|
void |
LFUQueue.removeNodeEntry(NodeEntry entry) |
void |
EvictionQueue.removeNodeEntry(NodeEntry entry)
Remove a NodeEntry from queue.
|
void |
ElementSizeQueue.removeNodeEntry(NodeEntry entry) |
void |
LRUQueue.removeNodeEntry(NodeEntry entry) |
protected void |
LRUQueue.removeNodeEntryFromLRU(NodeEntry entry) |
protected void |
LRUQueue.removeNodeEntryFromMaxAge(NodeEntry entry) |
protected boolean |
ElementSizeAlgorithm.shouldEvictNode(NodeEntry ne) |
protected boolean |
FIFOAlgorithm.shouldEvictNode(NodeEntry ne)
For FIFO, a node should be evicted if the queue size is >= to the configured maxNodes size.
|
protected boolean |
MRUAlgorithm.shouldEvictNode(NodeEntry ne) |
protected boolean |
LFUAlgorithm.shouldEvictNode(NodeEntry ne) |
protected boolean |
LRUAlgorithm.shouldEvictNode(NodeEntry entry) |
protected abstract boolean |
BaseEvictionAlgorithm.shouldEvictNode(NodeEntry ne)
This method will check whether the given node should be evicted or not.
|
protected boolean |
ExpirationAlgorithm.shouldEvictNode(NodeEntry ne) |
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.