public interface AutomaticWorkQueue extends WorkQueue
Modifier and Type | Method and Description |
---|---|
String |
getName()
Get's the name of the workqueue
|
boolean |
isShutdown()
Returns true if this object has been shut down.
|
void |
shutdown(boolean processRemainingWorkItems)
Initiates an orderly shutdown.
|
String getName()
void shutdown(boolean processRemainingWorkItems)
processRemainingWorkItems
is true, waits for all active items to finish execution before returning, otherwise returns
immediately after removing all non active items from the queue.processRemainingWorkItems
- boolean isShutdown()
Copyright © 2018 JBoss by Red Hat. All rights reserved.