Package | Description |
---|---|
org.jboss.cache | |
org.jboss.cache.eviction |
Modifier and Type | Method and Description |
---|---|
EvictionEvent |
Region.registerEvictionEvent(Fqn fqn,
EvictionEvent.Type eventType)
An overloaded version of
Region.registerEvictionEvent(Fqn, org.jboss.cache.eviction.EvictionEvent.Type, int, DataCommand, Transaction) which
uses a default elementDifference value. |
EvictionEvent |
RegionImpl.registerEvictionEvent(Fqn fqn,
EvictionEvent.Type eventType) |
EvictionEvent |
Region.registerEvictionEvent(Fqn fqn,
EvictionEvent.Type eventType,
int elementDifference,
DataCommand command,
Transaction tx)
Registers an eviction event on the region's eviction event queue for later processing by
Region.processEvictionQueues() . |
EvictionEvent |
RegionImpl.registerEvictionEvent(Fqn fqn,
EvictionEvent.Type eventType,
int elementDifference,
DataCommand command,
Transaction tx) |
Modifier and Type | Method and Description |
---|---|
BlockingQueue<EvictionEvent> |
RegionImpl.getEvictionEventQueue() |
Modifier and Type | Class and Description |
---|---|
class |
EvictedEventNode
Deprecated.
please use
EvictionEvent instead. |
Modifier and Type | Method and Description |
---|---|
EvictionEvent |
EvictionEvent.copy(Fqn newRoot)
Copies this evicted event node to create a new one with the same values, except with a new Fqn root.
|
protected EvictionEvent |
BaseEvictionAlgorithm.getNextInQueue(BlockingQueue<EvictionEvent> queue) |
Modifier and Type | Method and Description |
---|---|
protected void |
BaseEvictionAlgorithm.processAddedElement(EvictionEvent evictedEventNode) |
protected void |
BaseEvictionAlgorithm.processAddedNodes(EvictionEvent evictedEventNode)
Convenience method, which calls
BaseEvictionAlgorithm.processAddedNodes(EvictionEvent, int) using values in the
evictedEventNode for number of added elements and the resetElementCount flag. |
protected void |
BaseEvictionAlgorithm.processAddedNodes(EvictionEvent evictedEventNode,
int numAddedElements) |
protected void |
BaseEvictionAlgorithm.processRemovedElement(EvictionEvent evictedEventNode) |
protected void |
BaseEvictionAlgorithm.processRemovedNodes(EvictionEvent evictedEventNode)
Remove a node from cache.
|
protected void |
MRUAlgorithm.processVisitedNodes(EvictionEvent evictedEventNode) |
protected void |
BaseEvictionAlgorithm.processVisitedNodes(EvictionEvent evictedEventNode)
Visit a node in cache.
|
Modifier and Type | Method and Description |
---|---|
protected EvictionEvent |
BaseEvictionAlgorithm.getNextInQueue(BlockingQueue<EvictionEvent> queue) |
void |
BaseEvictionAlgorithm.process(BlockingQueue<EvictionEvent> eventQueue)
Process the given eviction event queue.
|
void |
EvictionAlgorithm.process(BlockingQueue<EvictionEvent> queue)
Entry point for eviction algorithm.
|
void |
NullEvictionAlgorithm.process(BlockingQueue<EvictionEvent> queue) |
protected void |
BaseEvictionAlgorithm.processQueues(BlockingQueue<EvictionEvent> queue)
Event processing for Evict/Add/Visiting of nodes.
|
protected void |
ExpirationAlgorithm.processQueues(BlockingQueue<EvictionEvent> queue) |
protected void |
BaseSortedEvictionAlgorithm.processQueues(BlockingQueue<EvictionEvent> queue) |
Constructor and Description |
---|
EvictedEventNode(EvictionEvent ee)
Deprecated.
|
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.