public enum ThreadingMode extends java.lang.Enum<ThreadingMode>
Agents in the MediaDriver.| Enum Constant and Description |
|---|
DEDICATED
3 Threads, one dedicated to each of the
Agents. |
INVOKER
No threads are started in the
MediaDriver. |
SHARED
One thread shared by all 3
Agents. |
SHARED_NETWORK
|
| Modifier and Type | Method and Description |
|---|---|
static ThreadingMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ThreadingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThreadingMode INVOKER
MediaDriver.
All 3 Agents will be composed a CompositeAgent and
made runnable via an AgentInvoker in the MediaDriver.Context.
public static final ThreadingMode SHARED
Agents.public static final ThreadingMode SHARED_NETWORK
public static final ThreadingMode DEDICATED
Agents.public static ThreadingMode[] values()
for (ThreadingMode c : ThreadingMode.values()) System.out.println(c);
public static ThreadingMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2014-2018 Real Logic Ltd. All Rights Reserved.