public enum CacheType extends Enum<CacheType>
Specifies the cache type to use.
| Enum Constant and Description |
|---|
Auto
Specifies auto cache type.
|
CacheInMemoryOnly
The in-memory cache only.
|
CacheOnDiskOnly
The disk cache only.
|
| Modifier and Type | Method and Description |
|---|---|
static CacheType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CacheType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheType Auto
Specifies auto cache type. The auto cache scheme will try to cache in-memory first then on disk.
public static final CacheType CacheOnDiskOnly
The disk cache only.
public static final CacheType CacheInMemoryOnly
The in-memory cache only.
public static CacheType[] values()
for (CacheType c : CacheType.values()) System.out.println(c);
public static CacheType 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 (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.