public static enum ICompositeCacheAttributes.DiskUsagePattern extends Enum<ICompositeCacheAttributes.DiskUsagePattern>
Enum Constant and Description |
---|
SWAP
Items will only go to disk when the memory limit is reached.
|
UPDATE
Items will go to disk on a normal put.
|
Modifier and Type | Method and Description |
---|---|
static ICompositeCacheAttributes.DiskUsagePattern |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ICompositeCacheAttributes.DiskUsagePattern[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ICompositeCacheAttributes.DiskUsagePattern SWAP
public static final ICompositeCacheAttributes.DiskUsagePattern UPDATE
public static ICompositeCacheAttributes.DiskUsagePattern[] values()
for (ICompositeCacheAttributes.DiskUsagePattern c : ICompositeCacheAttributes.DiskUsagePattern.values()) System.out.println(c);
public static ICompositeCacheAttributes.DiskUsagePattern 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 © 2002–2022 The Apache Software Foundation. All rights reserved.