public enum SyncMode extends Enum<SyncMode>
Enum Constant and Description |
---|
ASYNC
Schedule a sync to disk to be performed, but don't wait for it, if the platform supports this
|
NONE
No sync is performed on any platform
|
SYNC
Wait for a sync to disk to be performed, if the platform supports this
|
Modifier and Type | Method and Description |
---|---|
net.openhft.posix.MSyncFlag |
mSyncFlag() |
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()
Copyright © 2022. All rights reserved.