public static enum CorfuServer.Persistence extends Enum<CorfuServer.Persistence>
Modifier and Type | Method and Description |
---|---|
static CorfuServer.Persistence |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CorfuServer.Persistence[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CorfuServer.Persistence DISK
public static final CorfuServer.Persistence MEMORY
public static CorfuServer.Persistence[] values()
for (CorfuServer.Persistence c : CorfuServer.Persistence.values()) System.out.println(c);
public static CorfuServer.Persistence 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 nullCopyright © 2019 CorfuDB. All rights reserved.