| Modifier and Type | Method and Description |
|---|---|
| public void | addConfigurationEventListener(ConfigurationEventListener listener)
Add a |
| public void | addScheduledFuture(ScheduledFuture<?> scheduledFuture)
Add scheduledFuture parameter to the list of known futures. |
| public void | fireConfigurationEvent(ConfigurationEvent configurationEvent)
Fire |
| public default ExecutorService | Returns: ExecutorServiceReturn an alternate |
| public long | Returns: The time as measured when this class was created.The time at which this context was created, expressed in millisecond elapsed since the epoch (1.1.1970). |
| public Object | |
| public Map | getCopyOfPropertyMap()
Redeclares ch. |
| public ExecutorService | Returns: the executor for this context.Every context has an ExecutorService which be invoked to execute certain tasks in a separate thread. |
| public String | |
| public Object | |
| public String | getProperty(String key)
Redeclares ch. |
| public ScheduledExecutorService | Returns: ScheduledExecutorServiceReturns the ScheduledExecutorService for this context. |
| public SequenceNumberGenerator | |
| public StatusManager | Returns: theStatusManager instance in use.Return the StatusManager instance in use. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void |
| addConfigurationEventListener | back to summary |
|---|---|
| public void addConfigurationEventListener(ConfigurationEventListener listener) Add a Configuration events are supposed to be rare and listeners to such events rarer still. The propagation of
| |
| addScheduledFuture | back to summary |
|---|---|
| public void addScheduledFuture(ScheduledFuture<?> scheduledFuture) Add scheduledFuture parameter to the list of known futures. | |
| fireConfigurationEvent | back to summary |
|---|---|
| public void fireConfigurationEvent(ConfigurationEvent configurationEvent) Fire Note that it is the role of configurators to invoke this method as a context does not necessarily know when it is being configured.
| |
| getAlternateExecutorService | back to summary |
|---|---|
| public default ExecutorService getAlternateExecutorService() Return an alternate
| |
| getBirthTime | back to summary |
|---|---|
| public long getBirthTime() The time at which this context was created, expressed in millisecond elapsed since the epoch (1.1.1970).
| |
| getConfigurationLock | back to summary |
|---|---|
| public Object getConfigurationLock() Object used for synchronization purposes. INTENDED FOR INTERNAL USAGE. | |
| getCopyOfPropertyMap | back to summary |
|---|---|
| public Map Redeclares ch. Get a copy of the property map
| |
| getExecutorService | back to summary |
|---|---|
| public ExecutorService getExecutorService() Every context has an ExecutorService which be invoked to execute certain tasks in a separate thread.
| |
| getName | back to summary |
|---|---|
| public String getName() Contexts are named objects.
| |
| getObject | back to summary |
|---|---|
| public Object getObject(String key) A Context can act as a store for various objects used by LOGBack components.
| |
| getProperty | back to summary |
|---|---|
| public String getProperty(String key) Redeclares ch. Get the property of this context. | |
| getScheduledExecutorService | back to summary |
|---|---|
| public ScheduledExecutorService getScheduledExecutorService() Returns the ScheduledExecutorService for this context.
| |
| getSequenceNumberGenerator | back to summary |
|---|---|
| public SequenceNumberGenerator getSequenceNumberGenerator() | |
| getStatusManager | back to summary |
|---|---|
| public StatusManager getStatusManager() Return the StatusManager instance in use.
| |
| putObject | back to summary |
|---|---|
| public void putObject(String key, Object value) Store an object under 'key'. If no object can be found, null is returned. | |
| putProperty | back to summary |
|---|---|
| public void putProperty(String key, String value) Set a property of this context. | |
| register | back to summary |
|---|---|
| public void register(LifeCycle component) Register a component that participates in the context's life cycle. All components registered via this method will be stopped and removed from the context when the context is reset.
| |
| setName | back to summary |
|---|---|
| public void setName(String name) The name of the context can be set only once. | |
| setSequenceNumberGenerator | back to summary |
|---|---|
| public void setSequenceNumberGenerator(SequenceNumberGenerator sequenceNumberGenerator) | |