Class RemovedEventImpl<K>
java.lang.Object
org.infinispan.client.hotrod.event.impl.AbstractClientEvent
org.infinispan.client.hotrod.event.impl.RemovedEventImpl<K>
- All Implemented Interfaces:
ClientCacheEntryRemovedEvent<K>,ClientEvent
public class RemovedEventImpl<K>
extends AbstractClientEvent
implements ClientCacheEntryRemovedEvent<K>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.infinispan.client.hotrod.event.ClientEvent
ClientEvent.Type -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.infinispan.client.hotrod.event.impl.AbstractClientEvent
getListenerId
-
Constructor Details
-
RemovedEventImpl
-
-
Method Details
-
getKey
Description copied from interface:ClientCacheEntryRemovedEventCreated cache entry's key.- Specified by:
getKeyin interfaceClientCacheEntryRemovedEvent<K>- Returns:
- an instance of the key with which a cache entry has been created in remote server.
-
isCommandRetried
public boolean isCommandRetried()Description copied from interface:ClientCacheEntryRemovedEventThis will be true if the write command that caused this had to be retried again due to a topology change. This could be a sign that this event has been duplicated or another event was dropped and replaced (eg: ModifiedEvent replaced CreateEvent)- Specified by:
isCommandRetriedin interfaceClientCacheEntryRemovedEvent<K>- Returns:
- Whether the command that caused this event was retried
-
getType
- Specified by:
getTypein interfaceClientEvent
-
toString
-