public enum InMemoryFormat extends Enum<InMemoryFormat>
Enum Constant and Description |
---|
BINARY
As Binary
|
NATIVE
As native storage
|
OBJECT
As Object
|
Modifier and Type | Method and Description |
---|---|
static InMemoryFormat |
getById(int id) |
byte |
getId() |
static InMemoryFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InMemoryFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InMemoryFormat BINARY
public static final InMemoryFormat OBJECT
public static final InMemoryFormat NATIVE
public static InMemoryFormat[] values()
for (InMemoryFormat c : InMemoryFormat.values()) System.out.println(c);
public static InMemoryFormat 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 byte getId()
public static InMemoryFormat getById(int id)
Copyright © 2022 Hazelcast, Inc.. All rights reserved.