com.eurotech.framework.protocol.pcn
Class LoggingJobQueue
java.lang.Object
com.eurotech.framework.protocol.pcn.Pcn1001EventQueue
com.eurotech.framework.protocol.pcn.LoggingJobQueue
public class LoggingJobQueue
- extends Pcn1001EventQueue
Defines logging job queue.
- Author:
- ilya.binshtok
Method Summary |
LogEntry |
pop()
Pops log entry from queue. |
void |
push(LogEntry logEntry)
Puts supplied log entry to queue. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoggingJobQueue
public LoggingJobQueue()
- LoggingJobQueue constructor
push
public void push(LogEntry logEntry)
- Puts supplied log entry to queue.
- Parameters:
job
- - log entry as LogEntry
pop
public LogEntry pop()
- Pops log entry from queue.
- Returns:
- log entry removed as
LogEntry
Copyright © 2013. All Rights Reserved.