hazeltask icon indicating copy to clipboard operation
hazeltask copied to clipboard

TaskBatchingService API Cleanup

Open jclawson opened this issue 11 years ago • 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

jclawson avatar Mar 13 '13 21:03 jclawson