Class ExpiredEventImpl<K>
- java.lang.Object
-
- org.infinispan.client.hotrod.event.impl.AbstractClientEvent
-
- org.infinispan.client.hotrod.event.impl.ExpiredEventImpl<K>
-
- All Implemented Interfaces:
ClientCacheEntryExpiredEvent<K>
,ClientEvent
public class ExpiredEventImpl<K> extends AbstractClientEvent implements ClientCacheEntryExpiredEvent<K>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.infinispan.client.hotrod.event.ClientEvent
ClientEvent.Type
-
-
Constructor Summary
Constructors Constructor Description ExpiredEventImpl(byte[] listenerId, K key)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description K
getKey()
Created cache entry's key.ClientEvent.Type
getType()
String
toString()
-
Methods inherited from class org.infinispan.client.hotrod.event.impl.AbstractClientEvent
getListenerId
-
-
-
-
Constructor Detail
-
ExpiredEventImpl
public ExpiredEventImpl(byte[] listenerId, K key)
-
-
Method Detail
-
getKey
public K getKey()
Description copied from interface:ClientCacheEntryExpiredEvent
Created cache entry's key.- Specified by:
getKey
in interfaceClientCacheEntryExpiredEvent<K>
- Returns:
- an instance of the key with which a cache entry has been created in remote server.
-
getType
public ClientEvent.Type getType()
- Specified by:
getType
in interfaceClientEvent
-
-