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