restructuring
[lwes-java.git] / src / main / java / org / lwes / listener / QueueElement.java
blobc4fba9ee0b31824c2ad9fbadaabbe816e90c0ccb
1 package org.lwes.listener;
3 /**
4 * Interface needed to define queue elements, which encapsulate incoming events
5 * @author Michael P. Lum
6 */
7 public interface QueueElement {
8 /**
9 * Get the timestamp this event was created
10 * @return the timestamp
12 public long getTimestamp();
14 /**
15 * Sets the timestamp for this event
16 * @param timestamp the timestamp
18 public void setTimestamp(long timestamp);