public static enum DefaultComputingCacheFactory.MaxSizeStrategy extends Enum<DefaultComputingCacheFactory.MaxSizeStrategy>
Enum Constant and Description |
---|
CLEAR
Remove all entries from the cache
|
NOOP
Do nothing
|
Modifier and Type | Method and Description |
---|---|
boolean |
isEvictionSupported() |
static DefaultComputingCacheFactory.MaxSizeStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefaultComputingCacheFactory.MaxSizeStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefaultComputingCacheFactory.MaxSizeStrategy NOOP
public static final DefaultComputingCacheFactory.MaxSizeStrategy CLEAR
public static DefaultComputingCacheFactory.MaxSizeStrategy[] values()
for (DefaultComputingCacheFactory.MaxSizeStrategy c : DefaultComputingCacheFactory.MaxSizeStrategy.values()) System.out.println(c);
public static DefaultComputingCacheFactory.MaxSizeStrategy 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 boolean isEvictionSupported()
Copyright © 2017. All rights reserved.