public class InfiniteLoopExecutor
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
InfiniteLoopExecutor.InterruptibleRunnable |
Constructor and Description |
---|
InfiniteLoopExecutor(java.lang.String name,
InfiniteLoopExecutor.InterruptibleRunnable runnable) |
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long time,
java.util.concurrent.TimeUnit unit) |
boolean |
isAlive() |
void |
shutdownNow() |
InfiniteLoopExecutor |
start() |
public InfiniteLoopExecutor(java.lang.String name, InfiniteLoopExecutor.InterruptibleRunnable runnable)
public InfiniteLoopExecutor start()
public void shutdownNow()
public boolean awaitTermination(long time, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException
java.lang.InterruptedException
public boolean isAlive()
Copyright © 2021 The Apache Software Foundation