public class RemovedEventImpl<K> extends AbstractClientEvent implements ClientCacheEntryRemovedEvent<K>
ClientEvent.Type
Constructor and Description |
---|
RemovedEventImpl(byte[] listenerId,
K key,
boolean retried) |
Modifier and Type | Method and Description |
---|---|
K |
getKey()
Created cache entry's key.
|
ClientEvent.Type |
getType() |
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() |
getListenerId
public RemovedEventImpl(byte[] listenerId, K key, boolean retried)
public K getKey()
ClientCacheEntryRemovedEvent
getKey
in interface ClientCacheEntryRemovedEvent<K>
public boolean isCommandRetried()
ClientCacheEntryRemovedEvent
isCommandRetried
in interface ClientCacheEntryRemovedEvent<K>
public ClientEvent.Type getType()
getType
in interface ClientEvent
Copyright © 2021 JBoss by Red Hat. All rights reserved.