public class ClientSubscriberContextSupport extends Object implements SubscriberContextSupport
SubscriberContextSupport
implementation for client side.SubscriberContextSupport
Constructor and Description |
---|
ClientSubscriberContextSupport() |
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 object)
Resolves response of recoveryOperation.
|
public Object createRecoveryOperation(String mapName, String cacheId, long sequence, int partitionId)
SubscriberContextSupport
createRecoveryOperation
in interface SubscriberContextSupport
mapName
- map name.cacheId
- id of cache.sequence
- sequence to be set.partitionId
- partitions ID of broken sequenceQueryCache.tryRecover()
public Boolean resolveResponseForRecoveryOperation(Object object)
SubscriberContextSupport
resolveResponseForRecoveryOperation
in interface SubscriberContextSupport
object
- clientMessage or datapublic Object createDestroyQueryCacheOperation(String mapName, String cacheId)
SubscriberContextSupport
createDestroyQueryCacheOperation
in interface SubscriberContextSupport
mapName
- map name.cacheId
- id of cache.QueryCache.tryRecover()
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.