|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<SizeOfPolicyConfiguration.MaxDepthExceededBehavior>
net.sf.ehcache.config.SizeOfPolicyConfiguration.MaxDepthExceededBehavior
public static enum SizeOfPolicyConfiguration.MaxDepthExceededBehavior
Enum of the possible behaviors of the SizeOf engine when the max depth is exceeded
| Enum Constant Summary | |
|---|---|
ABORT
Abort the SizeOf engine's traversal and immediately return the partially calculated size |
|
CONTINUE
Warn about the exceeded max depth but continue traversal of the sized element |
|
| Method Summary | |
|---|---|
boolean |
isAbort()
Returns true if this behavior is equal to ABORT |
boolean |
isContinue()
Returns true if this behavior is equal to CONTINUE |
static SizeOfPolicyConfiguration.MaxDepthExceededBehavior |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SizeOfPolicyConfiguration.MaxDepthExceededBehavior[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final SizeOfPolicyConfiguration.MaxDepthExceededBehavior ABORT
public static final SizeOfPolicyConfiguration.MaxDepthExceededBehavior CONTINUE
| Method Detail |
|---|
public static SizeOfPolicyConfiguration.MaxDepthExceededBehavior[] values()
for (SizeOfPolicyConfiguration.MaxDepthExceededBehavior c : SizeOfPolicyConfiguration.MaxDepthExceededBehavior.values()) System.out.println(c);
public static SizeOfPolicyConfiguration.MaxDepthExceededBehavior valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic boolean isAbort()
public boolean isContinue()
|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||