Share via


CachingType Class

public final class CachingType
extends ExpandableStringEnum<CachingType>

CachingType enums.

Field Summary

Modifier and Type Field and Description
static final CachingType NONE

The caching mode for the disk is not enabled.

static final CachingType READ_ONLY

The caching mode for the disk is read only.

static final CachingType READ_WRITE

The caching mode for the disk is read and write.

Constructor Summary

Constructor Description
CachingType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of CachingType value.

Method Summary

Modifier and Type Method and Description
static CachingType fromString(String name)

Creates or finds a CachingType from its string representation.

static Collection<CachingType> values()

Gets known CachingType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

NONE

public static final CachingType NONE

The caching mode for the disk is not enabled.

READ_ONLY

public static final CachingType READ_ONLY

The caching mode for the disk is read only.

READ_WRITE

public static final CachingType READ_WRITE

The caching mode for the disk is read and write.

Constructor Details

CachingType

@Deprecated
public CachingType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of CachingType value.

Method Details

fromString

public static CachingType fromString(String name)

Creates or finds a CachingType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding CachingType.

values

public static Collection<CachingType> values()

Gets known CachingType values.

Returns:

known CachingType values.

Applies to