Class RequestWorkItem

  • All Implemented Interfaces:
    Runnable, ThreadReuseExecutor.PrioritizedRunnable

    public class RequestWorkItem
    extends AbstractWorkItem
    implements ThreadReuseExecutor.PrioritizedRunnable
    Compiles results and other information for the client. There is quite a bit of logic surrounding forming batches to prevent buffer growth, send multiple batches at a time, partial batches, etc. There is also special handling for the update count case, which needs to read the entire result before sending it back to the client.