public class EvictionEvent extends Object
Region
for processing
later by calls to Region.processEvictionQueues()
.
Region
Modifier and Type | Class and Description |
---|---|
static class |
EvictionEvent.Type |
Constructor and Description |
---|
EvictionEvent() |
EvictionEvent(Fqn fqn,
EvictionEvent.Type type,
int elementDifference,
DataCommand command,
Transaction tx) |
Modifier and Type | Method and Description |
---|---|
EvictionEvent |
copy(Fqn newRoot)
Copies this evicted event node to create a new one with the same values, except with a new Fqn root.
|
DataCommand |
getCommand() |
long |
getCreationTimestamp() |
int |
getElementDifference() |
EvictionEvent.Type |
getEventType() |
Fqn |
getFqn() |
long |
getInUseTimeout() |
Transaction |
getTransaction() |
void |
setCommand(DataCommand command) |
void |
setElementDifference(int elementDifference) |
void |
setEventType(EvictionEvent.Type event) |
void |
setFqn(Fqn fqn) |
void |
setInUseTimeout(long inUseTimeout) |
void |
setTransaction(Transaction transaction) |
String |
toString() |
public EvictionEvent()
public EvictionEvent(Fqn fqn, EvictionEvent.Type type, int elementDifference, DataCommand command, Transaction tx)
public long getCreationTimestamp()
public long getInUseTimeout()
public void setInUseTimeout(long inUseTimeout)
public int getElementDifference()
public void setElementDifference(int elementDifference)
public Fqn getFqn()
public void setFqn(Fqn fqn)
public void setEventType(EvictionEvent.Type event)
public EvictionEvent.Type getEventType()
public DataCommand getCommand()
public void setCommand(DataCommand command)
public Transaction getTransaction()
public void setTransaction(Transaction transaction)
public EvictionEvent copy(Fqn newRoot)
newRoot
- new Fqn root to useRegion.copy(org.jboss.cache.Fqn)
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.