Interface BatchedWork<P>

Type Parameters:
P - The type of processor this work can be submitted to.

public interface BatchedWork<P>
A work ready to be submitted to a BatchingExecutor, and eventually processed in a batch by a BatchedWorkProcessor.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    submitTo(P processor)
     
  • Method Details

    • submitTo

      void submitTo(P processor)
    • markAsFailed

      void markAsFailed(Throwable t)