public enum SyncMode extends Enum<SyncMode>
Enum Constant and Description |
---|
ASYNC
Synchronization is scheduled but the program does not wait for it to complete before proceeding.
|
NONE
No synchronization is performed.
|
SYNC
Synchronization is performed, and the program waits for the sync operation to complete before proceeding.
|
Modifier and Type | Method and Description |
---|---|
net.openhft.posix.MSyncFlag |
mSyncFlag()
Returns the
MSyncFlag associated with this sync mode. |
static SyncMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SyncMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SyncMode NONE
public static final SyncMode SYNC
public static final SyncMode ASYNC
public static SyncMode[] values()
for (SyncMode c : SyncMode.values()) System.out.println(c);
public static SyncMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic net.openhft.posix.MSyncFlag mSyncFlag()
MSyncFlag
associated with this sync mode.NONE
Copyright © 2024. All rights reserved.