public interface EventLoop
Modifier and Type | Method and Description |
---|---|
com.aerospike.client.async.EventState |
createState()
For internal use only.
|
void |
execute(com.aerospike.client.cluster.Cluster cluster,
com.aerospike.client.async.AsyncCommand command)
Execute async command.
|
void |
execute(Runnable command)
Schedule execution of runnable command on event loop.
|
int |
getIndex()
Return event loop array index.
|
boolean |
inEventLoop()
Is current thread the event loop thread.
|
void |
schedule(Runnable command,
long delay,
TimeUnit unit)
Schedule execution of runnable command with delay.
|
void |
schedule(com.aerospike.client.async.ScheduleTask task,
long delay,
TimeUnit unit)
Schedule execution with a reusable ScheduleTask.
|
void execute(com.aerospike.client.cluster.Cluster cluster, com.aerospike.client.async.AsyncCommand command)
void execute(Runnable command)
void schedule(Runnable command, long delay, TimeUnit unit)
void schedule(com.aerospike.client.async.ScheduleTask task, long delay, TimeUnit unit)
int getIndex()
boolean inEventLoop()
com.aerospike.client.async.EventState createState()
Copyright © 2012–2018 Aerospike, Inc. All rights reserved.