org.hibernate.search.backend.impl

## Interface QueueingProcessor

- All Known Implementing Classes:
    BatchedQueueingProcessor

      public interface QueueingProcessor

  Pile work operations No thread safety has to be implemented, the queue being scoped already The implementation must be "stateless" wrt the queue through (ie not store the queue state) FIXME this Interface does not make much sense, since the impl will not be changed
  Author:
    Emmanuel Bernard

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `add(Work work, WorkQueue workQueue)` Add a work TODO move that somewhere else, it does not really fit here
    `void` | `cancelWorks(WorkQueue workQueue)` Rollback works
    `void` | `performWorks(WorkQueue workQueue)` Execute works
    `void` | `prepareWorks(WorkQueue workQueue)` prepare resources for a later performWorks call

- - ### Method Detail

    - #### add

          void add(Work work,
                   WorkQueue workQueue)

      Add a work TODO move that somewhere else, it does not really fit here
      Parameters:
        `work` - the work to add
        `workQueue` - the work queue

    - #### prepareWorks

          void prepareWorks(WorkQueue workQueue)

      prepare resources for a later performWorks call
      Parameters:
        `workQueue` - the work queue

    - #### performWorks

          void performWorks(WorkQueue workQueue)

      Execute works
      Parameters:
        `workQueue` - the work queue

    - #### cancelWorks

          void cancelWorks(WorkQueue workQueue)

      Rollback works
      Parameters:
        `workQueue` - the work queue

Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved