Package org.jboss.as.controller.audit
Class InMemoryAuditLogHandler
- java.lang.Object
-
- org.jboss.as.controller.audit.InMemoryAuditLogHandler
-
public final class InMemoryAuditLogHandler extends Object
- Author:
- Emmanuel Hugonnet (c) 2015 Red Hat, inc.
-
-
Field Summary
Fields Modifier and Type Field Description protected String
name
static String
OPERATION_DATE
-
Constructor Summary
Constructors Constructor Description InMemoryAuditLogHandler(String name, int maxHistory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuditLogItemFormatter
getFormatter()
List<org.jboss.dmr.ModelNode>
listLastEntries()
void
setFormatterName(String formatterName)
void
setMaxFailureCount(int count)
void
setMaxHistory(int maxHistory)
-
-
-
Field Detail
-
OPERATION_DATE
public static final String OPERATION_DATE
- See Also:
- Constant Field Values
-
name
protected final String name
-
-
Constructor Detail
-
InMemoryAuditLogHandler
public InMemoryAuditLogHandler(String name, int maxHistory)
-
-
Method Detail
-
listLastEntries
public List<org.jboss.dmr.ModelNode> listLastEntries()
-
setMaxHistory
public void setMaxHistory(int maxHistory)
-
getFormatter
public AuditLogItemFormatter getFormatter()
-
setMaxFailureCount
public void setMaxFailureCount(int count)
-
setFormatterName
public void setFormatterName(String formatterName)
-
-