public class SizeRotatingFileHandler<T extends SizeRotatingFileHandler<T>> extends Object
Constructor and Description |
---|
SizeRotatingFileHandler(String key) |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
Boolean |
disabledDueToFailure()
Whether this handler has been disabled due to logging failures.
|
T |
disabledDueToFailure(Boolean value)
Whether this handler has been disabled due to logging failures.
|
Integer |
failureCount()
The number of logging failures since the handler was initialized.
|
T |
failureCount(Integer value)
The number of logging failures since the handler was initialized.
|
String |
formatter()
The formatter used to format the log messages.
|
T |
formatter(String value)
The formatter used to format the log messages.
|
String |
getKey() |
Integer |
maxBackupIndex()
The maximum number of backups to keep.
|
T |
maxBackupIndex(Integer value)
The maximum number of backups to keep.
|
Integer |
maxFailureCount()
The maximum number of logging failures before disabling this handler.
|
T |
maxFailureCount(Integer value)
The maximum number of logging failures before disabling this handler.
|
String |
path()
The path of the audit log file.
|
T |
path(String value)
The path of the audit log file.
|
String |
relativeTo()
The name of another previously named path, or of one of the standard
paths provided by the system.
|
T |
relativeTo(String value)
The name of another previously named path, or of one of the standard
paths provided by the system.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
String |
rotateSize()
The size at which to rotate the log file.
|
T |
rotateSize(String value)
The size at which to rotate the log file.
|
public SizeRotatingFileHandler(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public Boolean disabledDueToFailure()
public T disabledDueToFailure(Boolean value)
public Integer failureCount()
public T failureCount(Integer value)
public String formatter()
public Integer maxBackupIndex()
public Integer maxFailureCount()
public T maxFailureCount(Integer value)
public String path()
public String relativeTo()
public T relativeTo(String value)
public String rotateSize()
Copyright © 2018 JBoss by Red Hat. All rights reserved.