ch.qos.logback.ext.spring
Enum EventCacheMode
java.lang.Object
java.lang.Enum<EventCacheMode>
ch.qos.logback.ext.spring.EventCacheMode
- All Implemented Interfaces:
- Serializable, Comparable<EventCacheMode>
public enum EventCacheMode
- extends Enum<EventCacheMode>
- Since:
- 0.1
- Author:
- Bryan Turner
OFF
public static final EventCacheMode OFF
ON
public static final EventCacheMode ON
SOFT
public static final EventCacheMode SOFT
values
public static EventCacheMode[] 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 (EventCacheMode c : EventCacheMode.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static EventCacheMode 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
createCache
public abstract ILoggingEventCache createCache()
Copyright © 2014-2015. All Rights Reserved.