@Private
@Unstable
public class TaskRunner
extends java.lang.Object
| Modifier and Type | Class | Description |
|---|---|---|
static class |
TaskRunner.Task |
| Constructor | Description |
|---|---|
TaskRunner() |
| Modifier and Type | Method | Description |
|---|---|---|
long |
getStartTimeMS() |
|
void |
schedule(TaskRunner.Task task) |
|
void |
setQueueSize(int threadPoolSize) |
|
void |
start() |
|
void |
stop() |
public void setQueueSize(int threadPoolSize)
public void start()
public void stop()
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic void schedule(TaskRunner.Task task)
public long getStartTimeMS()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.