com.hazelcast.util.scheduler

## Class EntryTaskSchedulerFactory

- java.lang.Object
- - com.hazelcast.util.scheduler.EntryTaskSchedulerFactory

-     public final class EntryTaskSchedulerFactory
      extends Object

  Factory for EntryTaskSchedulers.

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static <K,V> EntryTaskScheduler<K,V>` | `newScheduler(TaskScheduler taskScheduler, ScheduledEntryProcessor<K,V> entryProcessor, ScheduleType scheduleType)` Creates a new EntryTaskScheduler that will run all second operations in bulk.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### newScheduler

          public static <K,V> EntryTaskScheduler<K,V> newScheduler(TaskScheduler taskScheduler,
                                                                   ScheduledEntryProcessor<K,V> entryProcessor,
                                                                   ScheduleType scheduleType)

      Creates a new EntryTaskScheduler that will run all second operations in bulk. Imagine a write-behind map where dirty entries will be stored in bulk. EntryTaskScheduler implementation is thread-safe.
      Parameters:
        `taskScheduler` - executor instance to execute the second
        `entryProcessor` - bulk processor
      Returns:
        EntryTaskScheduler that will run all second operations in bulk

Copyright © 2019. All rights reserved.