public abstract class EventLoopBase extends Object implements EventLoop
| Constructor and Description |
|---|
EventLoopBase(EventPolicy policy,
int index)
Common event loop constructor.
|
| Modifier and Type | Method and Description |
|---|---|
com.aerospike.client.async.EventState |
createState()
For internal use only.
|
int |
getIndex()
Return event loop array index.
|
int |
getProcessSize()
Return the approximate number of commands currently being processed on
the event loop.
|
int |
getQueueSize()
Return the approximate number of commands stored on this event loop's
delay queue that have not been started yet.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateConnector, execute, execute, executeBatchRetry, inEventLoop, schedule, schedulepublic EventLoopBase(EventPolicy policy, int index)
public int getProcessSize()
getProcessSize in interface EventLooppublic int getQueueSize()
getQueueSize in interface EventLooppublic int getIndex()
public com.aerospike.client.async.EventState createState()
createState in interface EventLoopCopyright © 2012–2024 Aerospike, Inc. All rights reserved.