public interface SubscriberContextSupport
SubscriberContext
.Modifier and Type | Method and Description |
---|---|
Object |
createDestroyQueryCacheOperation(String mapName,
String cacheName)
Creates recovery operation for event loss cases.
|
Object |
createRecoveryOperation(String mapName,
String cacheName,
long sequence,
int partitionId)
Creates recovery operation for event loss cases.
|
Boolean |
resolveResponseForRecoveryOperation(Object response)
Resolves response of recoveryOperation.
|
Object createRecoveryOperation(String mapName, String cacheName, long sequence, int partitionId)
mapName
- map name.cacheName
- cache name.sequence
- sequence to be set.partitionId
- partitions id of broken sequenceQueryCache.tryRecover()
Boolean resolveResponseForRecoveryOperation(Object response)
response
- clientMessage or dataObject createDestroyQueryCacheOperation(String mapName, String cacheName)
mapName
- map name.cacheName
- cache name.QueryCache.tryRecover()
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.