public class CustomEventImpl<T> extends AbstractClientEvent implements ClientCacheEntryCustomEvent<T>
ClientEvent.Type
Constructor and Description |
---|
CustomEventImpl(byte[] listenerId,
T data,
boolean retried,
ClientEvent.Type type) |
Modifier and Type | Method and Description |
---|---|
T |
getEventData()
Customized event data.
|
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 CustomEventImpl(byte[] listenerId, T data, boolean retried, ClientEvent.Type type)
public T getEventData()
ClientCacheEntryCustomEvent
getEventData
in interface ClientCacheEntryCustomEvent<T>
public boolean isCommandRetried()
ClientCacheEntryCustomEvent
isCommandRetried
in interface ClientCacheEntryCustomEvent<T>
public ClientEvent.Type getType()
getType
in interface ClientEvent
Copyright © 2021 JBoss by Red Hat. All rights reserved.