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.
|
public EventLoopBase(EventPolicy policy, int index)
public int getProcessSize()
getProcessSize
in interface EventLoop
public int getQueueSize()
getQueueSize
in interface EventLoop
public int getIndex()
public com.aerospike.client.async.EventState createState()
createState
in interface EventLoop
Copyright ? 2012–2018 Aerospike, Inc. All rights reserved.