Search in sources :

Example 1 with AccumulatorScannerTask

use of com.hazelcast.map.impl.querycache.accumulator.AccumulatorScannerTask in project hazelcast by hazelcast.

the class DefaultPublisherContext method startBackgroundAccumulatorScanner.

private void startBackgroundAccumulatorScanner() {
    QueryCacheScheduler scheduler = context.getQueryCacheScheduler();
    scheduler.scheduleWithRepetition(new AccumulatorScannerTask(context), SCAN_PERIOD_SECONDS);
}
Also used : AccumulatorScannerTask(com.hazelcast.map.impl.querycache.accumulator.AccumulatorScannerTask) QueryCacheScheduler(com.hazelcast.map.impl.querycache.QueryCacheScheduler)

Aggregations

QueryCacheScheduler (com.hazelcast.map.impl.querycache.QueryCacheScheduler)1 AccumulatorScannerTask (com.hazelcast.map.impl.querycache.accumulator.AccumulatorScannerTask)1