public static enum SpaceDef.CachePolicy extends java.lang.Enum<SpaceDef.CachePolicy>
Enum Constant and Description |
---|
READ_THROUGH
Read through cache.
|
READ_WRITE_THROUGH
Read/Write through cache.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static SpaceDef.CachePolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SpaceDef.CachePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpaceDef.CachePolicy READ_WRITE_THROUGH
Persister.onRead(com.tibco.as.space.persistence.ReadAction)
} is called on miss.
Persister.onWrite(com.tibco.as.space.persistence.WriteAction)
} is called after writepublic static final SpaceDef.CachePolicy READ_THROUGH
Persister.onRead(com.tibco.as.space.persistence.ReadAction)
} is called on miss.
Persister.onWrite(com.tibco.as.space.persistence.WriteAction)
} is not called after writepublic static SpaceDef.CachePolicy[] values()
for (SpaceDef.CachePolicy c : SpaceDef.CachePolicy.values()) System.out.println(c);
public static SpaceDef.CachePolicy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getValue()
Copyright (c) 2014 Cloud Software Group, Inc. All rights reserved.