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() |
getListenerIdpublic CustomEventImpl(byte[] listenerId,
T data,
boolean retried,
ClientEvent.Type type)
public T getEventData()
ClientCacheEntryCustomEventgetEventData in interface ClientCacheEntryCustomEvent<T>public boolean isCommandRetried()
ClientCacheEntryCustomEventisCommandRetried in interface ClientCacheEntryCustomEvent<T>public ClientEvent.Type getType()
getType in interface ClientEventCopyright © 2022 JBoss by Red Hat. All rights reserved.