public class SizeRotatingFileAuditLog<T extends SizeRotatingFileAuditLog<T>> extends Object
| Constructor and Description | 
|---|
SizeRotatingFileAuditLog(String key)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener 
 | 
Boolean | 
attributeSynchronized()
Whether every event should be immediately synchronised to disk. 
 | 
T | 
attributeSynchronized(Boolean value)
Whether every event should be immediately synchronised to disk. 
 | 
Format | 
format()
The format to use to record the audit event. 
 | 
T | 
format(Format value)
The format to use to record the audit event. 
 | 
String | 
getKey()  | 
Integer | 
maxBackupIndex()
The maximum number of files to backup when rotating. 
 | 
T | 
maxBackupIndex(Integer value)
The maximum number of files to backup when rotating. 
 | 
String | 
path()
Path of the file to be written. 
 | 
T | 
path(String value)
Path of the file to be written. 
 | 
String | 
relativeTo()
The relative path to the audit log. 
 | 
T | 
relativeTo(String value)
The relative path to the audit log. 
 | 
void | 
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener 
 | 
Boolean | 
rotateOnBoot()
Whether the file should be rotated before the a new file is set. 
 | 
T | 
rotateOnBoot(Boolean value)
Whether the file should be rotated before the a new file is set. 
 | 
String | 
rotateSize()
The log file size the file should rotate at. 
 | 
T | 
rotateSize(String value)
The log file size the file should rotate at. 
 | 
String | 
suffix()
Format of date used as suffix of log file names in
 java.time.format.DateTimeFormatter. 
 | 
T | 
suffix(String value)
Format of date used as suffix of log file names in
 java.time.format.DateTimeFormatter. 
 | 
public SizeRotatingFileAuditLog(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public Format format()
public Integer maxBackupIndex()
public T maxBackupIndex(Integer value)
public Boolean rotateOnBoot()
public T rotateOnBoot(Boolean value)
public String rotateSize()
public String suffix()
public T suffix(String value)
public Boolean attributeSynchronized()
public T attributeSynchronized(Boolean value)
public String path()
public String relativeTo()
Copyright © 2018 JBoss by Red Hat. All rights reserved.