use of com.hazelcast.client.proxy.ClientMapProxy in project hazelcast by hazelcast.
the class ClientQueryCacheContextTest method setUp.
@Before
public void setUp() {
factory = new TestHazelcastFactory();
factory.newHazelcastInstance();
HazelcastInstance hz = factory.newHazelcastClient();
ClientMapProxy proxy = (ClientMapProxy) hz.getMap("test");
context = proxy.getQueryContext();
}
use of com.hazelcast.client.proxy.ClientMapProxy 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.proxy.ClientMapProxy 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