Search in sources :

Example 1 with NodeQueryCacheContext

use of com.hazelcast.map.impl.querycache.NodeQueryCacheContext in project hazelcast by hazelcast.

the class QueryCacheUtilTest method setUp.

@Before
public void setUp() {
    HazelcastInstance instance = createHazelcastInstance();
    MapService mapService = getNodeEngineImpl(instance).getService(MapService.SERVICE_NAME);
    context = new NodeQueryCacheContext(mapService.getMapServiceContext());
}
Also used : HazelcastInstance(com.hazelcast.core.HazelcastInstance) MapService(com.hazelcast.map.impl.MapService) NodeQueryCacheContext(com.hazelcast.map.impl.querycache.NodeQueryCacheContext) Before(org.junit.Before)

Aggregations

HazelcastInstance (com.hazelcast.core.HazelcastInstance)1 MapService (com.hazelcast.map.impl.MapService)1 NodeQueryCacheContext (com.hazelcast.map.impl.querycache.NodeQueryCacheContext)1 Before (org.junit.Before)1