public interface IAsynchronousModule extends IModule
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
STRICT_SYNCHRONIZATION_PARAM |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.Executor |
getExecutor() |
boolean |
isStrictSynchronizationEnabled() |
void |
setStrictSynchronizationEnabled(boolean enableStrict) |
BlockingTimedEvent |
synchronizedTimedEvent(double startTime,
double blockAtTime)
create a new synchronization point.
|
dispose, getModel, getName, initialize, install, reset
uninstall
getAdapter
static final java.lang.String STRICT_SYNCHRONIZATION_PARAM
java.util.concurrent.Executor getExecutor()
boolean isStrictSynchronizationEnabled()
void setStrictSynchronizationEnabled(boolean enableStrict)
BlockingTimedEvent synchronizedTimedEvent(double startTime, double blockAtTime)
BlockingTimedEvent.abort()
is called. isStrictSynchronizationEnabled()
is true, the event will be
created and queued. If false, the event will be created, immediately
aborted, and not queued. isStrictSynchronizationEnabled()
at all. Modules that
wish to synchronize should just create the BlockingTimedEvent
via
this call and make their module request. Upon completion of the request,
the block is aborted.startTime
- blockAtTime
-