jclawson/hazeltask

TaskBatchingService API Cleanup

Opened this issue · 0 comments

  • Only expose one generic type to the developer using TaskBatchingService.... the item type.
  • Create an interface to represent the return type from HazeltaskInstance with only 4 methods: startup(), shutdown(), add, createBatch
  • Add default simple batcher that requires a Runnable (SimpleBatchTask) class with a no-arg constructor and a setItems method for zero config