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 void
audit(org.xmpp.packet.Packet packet, Session session)
Audit an XMPP packet.int
getQueuedPacketsNumber()
Returns the number of queued packets that are still in memory and need to be saved to a permanent store.void
setLogDir(String logDir)
void
setLogTimeout(Duration logTimeout)
protected void
setMaxValues(int totalSize, int fileSize, Duration duration)
void
stop()
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:Auditor
Returns the number of queued packets that are still in memory and need to be saved to a permanent store.- Specified by:
getQueuedPacketsNumber
in 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:Auditor
Audit an XMPP packet.
-
-