public class AsyncHandler<T extends AsyncHandler> extends Object
| Constructor and Description |
|---|
AsyncHandler(String key) |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
enabled()
If set to true the handler is enabled and functioning as normal, if set to false the handler is ignored when processing log messages.
|
T |
enabled(Boolean value)
If set to true the handler is enabled and functioning as normal, if set to false the handler is ignored when processing log messages.
|
Map |
filter()
Defines a simple filter type.
|
T |
filter(Map value)
Defines a simple filter type.
|
String |
filterSpec()
A filter expression value to define a filter.
|
T |
filterSpec(String value)
A filter expression value to define a filter.
|
String |
getKey() |
String |
level()
The log level specifying which message levels will be logged by this handler.
|
T |
level(String value)
The log level specifying which message levels will be logged by this handler.
|
String |
name()
The name of the handler.
|
T |
name(String value)
The name of the handler.
|
String |
overflowAction()
Specify what action to take when the overflowing.
|
T |
overflowAction(String value)
Specify what action to take when the overflowing.
|
Integer |
queueLength()
The queue length to use before flushing writing
|
T |
queueLength(Integer value)
The queue length to use before flushing writing
|
List<String> |
subhandlers()
The Handlers associated with this async handler.
|
T |
subhandlers(List<String> value)
The Handlers associated with this async handler.
|
public AsyncHandler(String key)
public String getKey()
public Boolean enabled()
public T enabled(Boolean value)
public Map filter()
public String filterSpec()
public T filterSpec(String value)
public String level()
public T level(String value)
public String name()
public String overflowAction()
public T overflowAction(String value)
public Integer queueLength()
Copyright © 2015 JBoss by Red Hat. All rights reserved.