K
- the key typeV
- the value typepublic interface ServiceEventHandler<K,V>
Modifier and Type | Method and Description |
---|---|
void |
enableAsyncReadThrough(boolean readThrough)
Enable async read through on this service event handler.
|
void |
enableAsyncWriteThrough(boolean writeThrough)
Enable async write through on this service event handler.
|
void |
enableReadThrough(boolean readThrough)
Enable read through on this service event handler.
|
int |
getAppId()
The application ID of this service event handler.
|
GridConnection |
getGridConnection()
Retrieve the
GridConnection associated with this service event handler. |
KeyEncoder<K> |
getKeyEncoder()
The
KeyEncoder used by this service event handler. |
int getAppId()
KeyEncoder<K> getKeyEncoder()
KeyEncoder
used by this service event handler.KeyEncoder
void enableAsyncWriteThrough(boolean writeThrough)
writeThrough
- true/false to enable/disable async write through on this service event handler.void enableAsyncReadThrough(boolean readThrough)
readThrough
- true/false to enable/disable async write through on this service event handler.void enableReadThrough(boolean readThrough)
readThrough
- true/false to enable disable read through on this service event handler.GridConnection getGridConnection()
GridConnection
associated with this service event handler.GridConnection
.