public abstract class BaseEventQueue extends BaseEngineModule implements EventQueue
| Modifier and Type | Field and Description |
|---|---|
protected int |
capacity
Queue capacity.
|
| Modifier | Constructor and Description |
|---|---|
protected |
BaseEventQueue(String name)
Creates a new event queue.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCapacity()
Returns the capacity of the queue.
|
void |
setCapacity(int capacity)
Sets the capacity of the queue.
|
doShutdown, doStartup, getDescription, getEngine, getInternalService, getLabel, getName, getState, isFailed, isNew, isNewOrStartingOrRunning, isRunning, isStarting, isStopping, isTerminated, setDescription, setEngine, setLabel, setName, shutdown, startup, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclear, get, getName, getSize, putisFailed, isNew, isRunning, isStarting, isStopping, isTerminated, shutdown, startupgetDescription, getLabel, setDescription, setLabel, setNameprotected BaseEventQueue(String name)
name - queue name.public void setCapacity(int capacity)
setCapacity in interface EventQueuecapacity - the capacity of the queue.public int getCapacity()
getCapacity in interface EventQueueCopyright © 2016–2019 Softelnet. All rights reserved.