public class TaskRunner
extends java.lang.Object
implements java.lang.Runnable
Modifier and Type | Class and Description |
---|---|
static class |
TaskRunner.Add |
static class |
TaskRunner.Add$ |
static interface |
TaskRunner.Command |
static class |
TaskRunner.CommandQueue |
static class |
TaskRunner.Remove |
static class |
TaskRunner.Remove$ |
static class |
TaskRunner.Shutdown$ |
Constructor and Description |
---|
TaskRunner(ExtendedActorSystem system,
int idleCpuLevel) |
Modifier and Type | Method and Description |
---|---|
void |
command(TaskRunner.Command cmd) |
static org.agrona.concurrent.IdleStrategy |
createIdleStrategy(int idleCpuLevel) |
int |
idleCpuLevel() |
void |
run() |
void |
start() |
scala.concurrent.Future<Done> |
stop() |
public TaskRunner(ExtendedActorSystem system, int idleCpuLevel)
public static org.agrona.concurrent.IdleStrategy createIdleStrategy(int idleCpuLevel)
public int idleCpuLevel()
public void start()
public scala.concurrent.Future<Done> stop()
public void command(TaskRunner.Command cmd)
public void run()
run
in interface java.lang.Runnable