Interface ClientCacheEntryRemovedEvent<K>

Type Parameters:
K - type of key created.
All Superinterfaces:
ClientEvent
All Known Implementing Classes:
RemovedEventImpl

public interface ClientCacheEntryRemovedEvent<K> extends ClientEvent
Client side cache entry removed events provide information on the removed key.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.infinispan.client.hotrod.event.ClientEvent

    ClientEvent.Type
  • Method Summary

    Modifier and Type
    Method
    Description
    Created cache entry's key.
    boolean
    This will be true if the write command that caused this had to be retried again due to a topology change.

    Methods inherited from interface org.infinispan.client.hotrod.event.ClientEvent

    getType
  • Method Details

    • getKey

      K getKey()
      Created cache entry's key.
      Returns:
      an instance of the key with which a cache entry has been created in remote server.
    • isCommandRetried

      boolean isCommandRetried()
      This 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)
      Returns:
      Whether the command that caused this event was retried