public enum DiskPageCompression extends Enum<DiskPageCompression>
CacheConfiguration.setDiskPageCompression(org.apache.ignite.configuration.DiskPageCompression)
,
CacheConfiguration.setDiskPageCompressionLevel(java.lang.Integer)
,
DataStorageConfiguration.setWalPageCompression(org.apache.ignite.configuration.DiskPageCompression)
,
DataStorageConfiguration.setWalPageCompressionLevel(java.lang.Integer)
Enum Constant and Description |
---|
DISABLED
Compression disabled.
|
LZ4
LZ4 compression.
|
SKIP_GARBAGE
Retain only useful data from half-filled pages, but do not apply any compression.
|
SNAPPY
Snappy compression.
|
ZSTD
Zstd compression.
|
Modifier and Type | Method and Description |
---|---|
static @Nullable DiskPageCompression |
fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
static DiskPageCompression |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DiskPageCompression[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DiskPageCompression DISABLED
public static final DiskPageCompression SKIP_GARBAGE
public static final DiskPageCompression ZSTD
public static final DiskPageCompression LZ4
public static final DiskPageCompression SNAPPY
public static DiskPageCompression[] values()
for (DiskPageCompression c : DiskPageCompression.values()) System.out.println(c);
public static DiskPageCompression 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 null@Nullable public static @Nullable DiskPageCompression fromOrdinal(int ord)
ord
- Ordinal value.null
if ordinal out of range.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.16.0 Release Date : December 15 2023