public abstract class BaseEventQueue extends BaseEngineModule implements org.openksavi.sponge.engine.event.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, getEngine, getName, getService, getState, isFailed, isNew, isNewOrStartingOrRunning, isRunning, isStarting, isStopping, isTerminated, setEngine, setName, shutdown, startup, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclear, get, getName, getSize, putprotected BaseEventQueue(String name)
name - queue name.public void setCapacity(int capacity)
setCapacity in interface org.openksavi.sponge.engine.event.EventQueuecapacity - the capacity of the queue.public int getCapacity()
getCapacity in interface org.openksavi.sponge.engine.event.EventQueueCopyright © 2016–2017 Softelnet. All rights reserved.