1 package org
.lwes
.listener
;
4 * Interface needed to define queue elements, which encapsulate incoming events
5 * @author Michael P. Lum
7 public interface QueueElement
{
9 * Get the timestamp this event was created
10 * @return the timestamp
12 public long getTimestamp();
15 * Sets the timestamp for this event
16 * @param timestamp the timestamp
18 public void setTimestamp(long timestamp
);