Class AuditorImpl
- java.lang.Object
-
- org.jivesoftware.openfire.audit.spi.AuditorImpl
-
-
Constructor Summary
Constructors Constructor Description AuditorImpl(AuditManager manager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaudit(org.xmpp.packet.Packet packet, Session session)Audit an XMPP packet.intgetQueuedPacketsNumber()Returns the number of queued packets that are still in memory and need to be saved to a permanent store.voidsetLogDir(String logDir)voidsetLogTimeout(Duration logTimeout)protected voidsetMaxValues(int totalSize, int fileSize, Duration duration)voidstop()Prepares the auditor for system shutdown.
-
-
-
Constructor Detail
-
AuditorImpl
public AuditorImpl(AuditManager manager)
-
-
Method Detail
-
setMaxValues
protected void setMaxValues(int totalSize, int fileSize, Duration duration)
-
setLogTimeout
public void setLogTimeout(Duration logTimeout)
-
setLogDir
public void setLogDir(String logDir)
-
getQueuedPacketsNumber
public int getQueuedPacketsNumber()
Description copied from interface:AuditorReturns the number of queued packets that are still in memory and need to be saved to a permanent store.- Specified by:
getQueuedPacketsNumberin interfaceAuditor- Returns:
- the number of queued packets that are still in memory.
-
audit
public void audit(org.xmpp.packet.Packet packet, Session session)Description copied from interface:AuditorAudit an XMPP packet.
-
-