public class ModifiedEventImpl<K> extends AbstractClientEvent implements ClientCacheEntryModifiedEvent<K>
ClientEvent.Type| Constructor and Description |
|---|
ModifiedEventImpl(byte[] listenerId,
K key,
long version,
boolean retried) |
| Modifier and Type | Method and Description |
|---|---|
K |
getKey()
Modifiedcache entry's key.
|
ClientEvent.Type |
getType() |
long |
getVersion()
Provides access to the version of the modified cache entry.
|
boolean |
isCommandRetried()
This will be true if the write command that caused this had to be retried
again due to a topology change.
|
String |
toString() |
getListenerIdpublic ModifiedEventImpl(byte[] listenerId,
K key,
long version,
boolean retried)
public K getKey()
ClientCacheEntryModifiedEventgetKey in interface ClientCacheEntryModifiedEvent<K>public long getVersion()
ClientCacheEntryModifiedEventRemoteCache.replaceWithVersion(Object, Object, long)
or RemoteCache.removeWithVersion(Object, long)getVersion in interface ClientCacheEntryModifiedEvent<K>public boolean isCommandRetried()
ClientCacheEntryModifiedEventisCommandRetried in interface ClientCacheEntryModifiedEvent<K>public ClientEvent.Type getType()
getType in interface ClientEventCopyright © 2022 JBoss by Red Hat. All rights reserved.