public class ExecutorDispatcher extends Object implements Dispatcher
| Modifier | Constructor and Description |
|---|---|
protected |
ExecutorDispatcher(int availableThreads,
int numberOfDispatchers,
float numberOfDispatchersFactor) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close me.
|
int |
concurrencyCapacity()
Answer the total capacity for concurrent operations.
|
void |
execute(Mailbox mailbox)
Execute message dispatching for the
mailbox's next message(s). |
boolean |
isClosed()
Answer whether or not I am closed.
|
boolean |
requiresExecutionNotification()
Answer whether or not I require notification of execution.
|
protected ExecutorDispatcher(int availableThreads,
int numberOfDispatchers,
float numberOfDispatchersFactor)
public int concurrencyCapacity()
DispatcherconcurrencyCapacity in interface Dispatcherpublic void close()
Dispatcherclose in interface Dispatcherpublic boolean isClosed()
DispatcherisClosed in interface Dispatcherpublic void execute(Mailbox mailbox)
Dispatchermailbox's next message(s).execute in interface Dispatchermailbox - the Mailbox to execute message dispatchingpublic boolean requiresExecutionNotification()
DispatcherrequiresExecutionNotification in interface DispatcherCopyright © 2021. All rights reserved.