public class MemoryNotificationInvocationLogger extends Object implements NotificationInvocationLogger
| Modifier and Type | Class and Description |
|---|---|
class |
MemoryNotificationInvocationLogger.MemoryEntry
Entry.
|
NotificationInvocationLogger.Entry| Constructor and Description |
|---|
MemoryNotificationInvocationLogger() |
| Modifier and Type | Method and Description |
|---|---|
protected NotificationInvocationLogger.Entry |
createLoggingEntry(W3CEndpointReference dest,
NotificationMessage message)
create a new memory log object.
|
Collection<NotificationInvocationLogger.Entry> |
getEntries()
get all entries.
|
ConcurrentLinkedQueue<NotificationInvocationLogger.Entry> |
getQueue() |
int |
getSize() |
void |
setQueue(ConcurrentLinkedQueue<NotificationInvocationLogger.Entry> queue) |
void |
setSize(int size) |
NotificationInvocationLogger.Entry |
startLogging(W3CEndpointReference dest,
NotificationMessage message)
Start logging a notification invocation.
|
public NotificationInvocationLogger.Entry startLogging(W3CEndpointReference dest, NotificationMessage message)
startLogging in interface NotificationInvocationLoggerdest - destinationmessage - message to be logged.eu.dnetlib.enabling.is.sn.NotificationInvocationLogger#startLogging(eu.dnetlib.enabling.is.sn.NotificationMessage)protected NotificationInvocationLogger.Entry createLoggingEntry(W3CEndpointReference dest, NotificationMessage message)
dest - destinationmessage - message to be loggedpublic ConcurrentLinkedQueue<NotificationInvocationLogger.Entry> getQueue()
public void setQueue(ConcurrentLinkedQueue<NotificationInvocationLogger.Entry> queue)
public int getSize()
public void setSize(int size)
public Collection<NotificationInvocationLogger.Entry> getEntries()
NotificationInvocationLoggergetEntries in interface NotificationInvocationLoggerCopyright © 2017. All rights reserved.