Package org.apache.cxf.workqueue
Interface AutomaticWorkQueue
-
- All Known Implementing Classes:
AutomaticWorkQueueImpl
public interface AutomaticWorkQueue extends WorkQueue
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getName()
Get's the name of the workqueueboolean
isShutdown()
Returns true if this object has been shut down.void
shutdown(boolean processRemainingWorkItems)
Initiates an orderly shutdown.
-
-
-
Method Detail
-
getName
String getName()
Get's the name of the workqueue- Returns:
- the name
-
shutdown
void shutdown(boolean processRemainingWorkItems)
Initiates an orderly shutdown. IfprocessRemainingWorkItems
is true, waits for all active items to finish execution before returning, otherwise returns immediately after removing all non active items from the queue.- Parameters:
processRemainingWorkItems
-
-
isShutdown
boolean isShutdown()
Returns true if this object has been shut down.- Returns:
- true if this object has been shut down.
-
-