org.javalite.activejdbc.cache
Enum CacheEvent.CacheEventType
java.lang.Object
java.lang.Enum<CacheEvent.CacheEventType>
org.javalite.activejdbc.cache.CacheEvent.CacheEventType
- All Implemented Interfaces:
- Serializable, Comparable<CacheEvent.CacheEventType>
- Enclosing class:
- CacheEvent
public static enum CacheEvent.CacheEventType
- extends Enum<CacheEvent.CacheEventType>
|
Enum Constant Summary |
ALL
This type means that all caches need to be cleared. |
GROUP
This type means that only a cache for a specific group (table) needs to be cleared. |
ALL
public static final CacheEvent.CacheEventType ALL
- This type means that all caches need to be cleared.
GROUP
public static final CacheEvent.CacheEventType GROUP
- This type means that only a cache for a specific group (table) needs to be cleared.
values
public static CacheEvent.CacheEventType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (CacheEvent.CacheEventType c : CacheEvent.CacheEventType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static CacheEvent.CacheEventType valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
Copyright © 2015 JavaLite. All rights reserved.