|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Context
A context is the main anchorage point of all logback components.
Method Summary | |
---|---|
long |
getBirthTime()
The time at which this context was created, expressed in millisecond elapsed since the epoch (1.1.1970). |
Object |
getConfigurationLock()
Object used for synchronization purposes. |
Map<String,String> |
getCopyOfPropertyMap()
Get a copy of the property map |
ExecutorService |
getExecutorService()
Every context has an ExecutorService which be invoked to execute certain tasks in a separate thread. |
String |
getName()
Contexts are named objects. |
Object |
getObject(String key)
A Context can act as a store for various objects used by LOGBack components. |
String |
getProperty(String key)
Get the property of this context. |
StatusManager |
getStatusManager()
Return the StatusManager instance in use. |
void |
putObject(String key,
Object value)
Store an object under 'key'. |
void |
putProperty(String key,
String value)
Set a property of this context. |
void |
setName(String name)
The name of the context can be set only once. |
Method Detail |
---|
StatusManager getStatusManager()
StatusManager
instance in use.Object getObject(String key)
void putObject(String key, Object value)
key
- value
- String getProperty(String key)
getProperty
in interface PropertyContainer
void putProperty(String key, String value)
Map<String,String> getCopyOfPropertyMap()
String getName()
void setName(String name)
name
- long getBirthTime()
Object getConfigurationLock()
ExecutorService getExecutorService()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |