public class BACIFramework
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static BACIFramework |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
BACIDispatcher |
getDispatcher()
Get dispatcher instance.
|
BACITimer |
getTimer()
Get timer instance (singleton pattern).
|
void |
initialize()
Initialize BACI framework not using any thread factory.
|
void |
initialize(java.util.concurrent.ThreadFactory threadFactory)
Initialize BACI framework using given thread factory.
|
void |
shutdown()
Shutdown BACI framework (terminate timer and dispatcher threads).
|
public static BACIFramework INSTANCE
public BACITimer getTimer()
public BACIDispatcher getDispatcher()
public void initialize()
public void initialize(java.util.concurrent.ThreadFactory threadFactory)
threadFactory - thread factory to be used, can be null.public void shutdown()