Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Apache CXF API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cxf.workqueue
Interface WorkQueueManager

    public interface WorkQueueManager

Method Summary
`void` | `addNamedWorkQueue(java.lang.String name, AutomaticWorkQueue q)` Adds a named work queue
`AutomaticWorkQueue` | `getAutomaticWorkQueue()` Get the manager's default work queue.
`AutomaticWorkQueue` | `getNamedWorkQueue(java.lang.String name)` Get the named work queue.
`void` | `run()` Only returns after workqueue has been shutdown.
`void` | `shutdown(boolean processRemainingTasks)` Shuts down the manager's work queue.

Method Detail

### getAutomaticWorkQueue

    AutomaticWorkQueue getAutomaticWorkQueue()

  Get the manager's default work queue.

  Returns:
    AutomaticWorkQueue

### getNamedWorkQueue

    AutomaticWorkQueue getNamedWorkQueue(java.lang.String name)

  Get the named work queue.

  Returns:
    AutomaticWorkQueue

### addNamedWorkQueue

    void addNamedWorkQueue(java.lang.String name,
                           AutomaticWorkQueue q)

  Adds a named work queue

  Parameters:
    `name` -
    `q` -

### shutdown

    void shutdown(boolean processRemainingTasks)

  Shuts down the manager's work queue. If `processRemainingTasks` is true, waits for the work queue to shutdown before returning.

  Parameters:
    `processRemainingTasks` - - whether or not to wait for completion

### run

    void run()

  Only returns after workqueue has been shutdown.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Apache CXF API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Apache CXF