com.googlecode.jpattern.service.log.reader
Class QueueMessages
java.lang.Object
com.googlecode.jpattern.service.log.reader.QueueMessages
- All Implemented Interfaces:
- IQueueMessages, Serializable
public class QueueMessages
- extends Object
- implements IQueueMessages
- Author:
- Francesco CinĂ 07/ago/2009
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueueMessages
public QueueMessages(int maxCodaLength)
size
public int size()
- Specified by:
size in interface IQueueMessages
offer
public boolean offer(String aMessage)
- Specified by:
offer in interface IQueueMessages
peek
public String peek()
- Specified by:
peek in interface IQueueMessages
poll
public String poll()
- Specified by:
poll in interface IQueueMessages
get
public String get(int index)
- Specified by:
get in interface IQueueMessages
iterator
public Iterator<String> iterator()
- Specified by:
iterator in interface IQueueMessages
Copyright © 2011. All Rights Reserved.