public class BMExecutor
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
BMExecutor.BMTask |
static interface |
BMExecutor.BMTaskMonitor |
Constructor and Description |
---|
BMExecutor(int thread,
java.lang.String name) |
BMExecutor(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.ExecutorService |
asExecutorService() |
void |
execute(BMExecutor.BMTask command) |
void |
execute(BMExecutor.BMTask command,
long timeout) |
protected void |
logExecutorState() |
public BMExecutor(java.lang.String name)
public BMExecutor(int thread, java.lang.String name)
public java.util.concurrent.ExecutorService asExecutorService()
protected void logExecutorState()
public void execute(BMExecutor.BMTask command)
public void execute(BMExecutor.BMTask command, long timeout)
Copyright © 2021. All Rights Reserved.