public interface CacheEntryRemovedEvent<K,V> extends CacheEntryEvent<K,V>
CacheEntryRemoved
.
The getValue()
method would return the old value prior to deletion, if isPre() is true.
If isPre() is false, getValue()
will return null.Event.Type
Modifier and Type | Method and Description |
---|---|
V |
getOldValue()
Regardless of whether isPre() is true or is
false, this method returns the value of the entry being
deleted.
|
V |
getValue()
Retrieves the value of the entry being deleted.
|
boolean |
isCommandRetried()
This will be true if the write command that caused this had to be retried again due to a topology change.
|
getKey, getMetadata, isCurrentState
getGlobalTransaction, isOriginLocal
V getValue()
getValue
in interface CacheEntryEvent<K,V>
V getOldValue()
boolean isCommandRetried()
Copyright © 2021 JBoss by Red Hat. All rights reserved.