Interface ClientCacheEntryModifiedEvent<K>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      K getKey()
      Modifiedcache entry's key.
      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.
    • Method Detail

      • getKey

        K getKey()
        Modifiedcache entry's key.
        Returns:
        an instance of the key with which a cache entry has been modified in the remote server(s).
      • 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