@Address(value="/subsystem=elytron/size-rotating-file-audit-log=*") public class SizeRotatingFileAuditLog<T extends SizeRotatingFileAuditLog<T>> extends Object implements Keyed
| 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 flushed to disk (If undefined
will default to the value of synchronized).
|
T |
attributeSynchronized(Boolean value)
Whether every event should be immediately flushed to disk (If undefined
will default to the value of synchronized).
|
Boolean |
autoflush()
Whether every event should be immediately flushed to disk.
|
T |
autoflush(Boolean value)
Whether every event should be immediately flushed 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 void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
@ModelNodeBinding(detypedName="autoflush") public Boolean autoflush()
public T autoflush(Boolean value)
@ModelNodeBinding(detypedName="format") public Format format()
@ModelNodeBinding(detypedName="max-backup-index") public Integer maxBackupIndex()
public T maxBackupIndex(Integer value)
@ModelNodeBinding(detypedName="path") public String path()
@ModelNodeBinding(detypedName="relative-to") public String relativeTo()
@ModelNodeBinding(detypedName="rotate-on-boot") public Boolean rotateOnBoot()
public T rotateOnBoot(Boolean value)
@ModelNodeBinding(detypedName="rotate-size") public String rotateSize()
@ModelNodeBinding(detypedName="suffix") public String suffix()
public T suffix(String value)
@ModelNodeBinding(detypedName="synchronized") public Boolean attributeSynchronized()
Copyright © 2019 JBoss by Red Hat. All rights reserved.