public class 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.
|
AsyncHandler |
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.
|
String |
filterSpec()
A filter expression value to define a filter.
|
AsyncHandler |
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.
|
AsyncHandler |
level(String value)
The log level specifying which message levels will be logged by this handler.
|
String |
overflowAction()
Specify what action to take when the overflowing.
|
AsyncHandler |
overflowAction(String value)
Specify what action to take when the overflowing.
|
Integer |
queueLength()
The queue length to use before flushing writing
|
AsyncHandler |
queueLength(Integer value)
The queue length to use before flushing writing
|
List<String> |
subhandlers()
The Handlers associated with this async handler.
|
AsyncHandler |
subhandlers(List<String> value)
The Handlers associated with this async handler.
|
public AsyncHandler(String key)
public String getKey()
public Boolean enabled()
public AsyncHandler enabled(Boolean value)
public String filterSpec()
public AsyncHandler filterSpec(String value)
public String level()
public AsyncHandler level(String value)
public String overflowAction()
public AsyncHandler overflowAction(String value)
public Integer queueLength()
public AsyncHandler queueLength(Integer value)
public AsyncHandler subhandlers(List<String> value)
Copyright © 2015 JBoss by Red Hat. All rights reserved.