Class CompositeAuditMessageQueue
java.lang.Object
org.openehealth.ipf.commons.audit.queue.CompositeAuditMessageQueue
- All Implemented Interfaces:
AuditMessageQueue
- Since:
- 3.5
- Author:
- Christian Ohr
-
Field Summary
Fields inherited from interface org.openehealth.ipf.commons.audit.queue.AuditMessageQueue
X_IPF_ATNA_APPLICATION, X_IPF_ATNA_HOSTNAME, X_IPF_ATNA_PROCESSID, X_IPF_ATNA_TIMESTAMP
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
audit
(AuditContext auditContext, AuditMessage... auditMessages) void
flush()
Forces all unsent messages in the queue to be sentvoid
shutdown()
Flushes the queue and shutdown any associated runtime daemons that may be handling queue inflow/outflow
-
Constructor Details
-
CompositeAuditMessageQueue
-
-
Method Details
-
audit
- Specified by:
audit
in interfaceAuditMessageQueue
- Parameters:
auditContext
- IPF audit contextauditMessages
- one or more audit message instances
-
flush
public void flush()Description copied from interface:AuditMessageQueue
Forces all unsent messages in the queue to be sent- Specified by:
flush
in interfaceAuditMessageQueue
-
shutdown
public void shutdown()Description copied from interface:AuditMessageQueue
Flushes the queue and shutdown any associated runtime daemons that may be handling queue inflow/outflow- Specified by:
shutdown
in interfaceAuditMessageQueue
-
getQueues
-