Class TaskBatcher

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      protected class  TaskBatcher.BatchedTask
      Represents a runnable task that supports batching.
    • Method Summary

      Modifier and Type Method Description
      protected abstract void onTimeout​(java.util.List<? extends TaskBatcher.BatchedTask> tasks, TimeValue timeout)
      Action to be implemented by the specific batching implementation.
      protected abstract void run​(java.lang.Object batchingKey, java.util.List<? extends TaskBatcher.BatchedTask> tasks, java.lang.String tasksSummary)
      Action to be implemented by the specific batching implementation All tasks have the given batching key.
      void submitTasks​(java.util.List<? extends TaskBatcher.BatchedTask> tasks, TimeValue timeout)  
      • Methods inherited from class java.lang.Object

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