use of com.hazelcast.client.map.querycache.subscriber.TestClientSubscriberContext in project hazelcast by hazelcast.
the class ClientQueryCacheRecoveryUponEventLossTest method setTestSequencer.
private void setTestSequencer(IMap map, int eventCount) {
ClientMapProxy proxy = (ClientMapProxy) map;
QueryCacheContext queryCacheContext = proxy.getQueryContext();
queryCacheContext.setSubscriberContext(new TestClientSubscriberContext(queryCacheContext, eventCount, true));
}
use of com.hazelcast.client.map.querycache.subscriber.TestClientSubscriberContext in project hazelcast by hazelcast.
the class ClientQueryCacheEventLostListenerTest method setTestSequencer.
private void setTestSequencer(IMap map, int eventCount) {
ClientMapProxy proxy = (ClientMapProxy) map;
QueryCacheContext queryCacheContext = proxy.getQueryContext();
queryCacheContext.setSubscriberContext(new TestClientSubscriberContext(queryCacheContext, eventCount, true));
}
Aggregations