public class FlushElement
extends java.lang.Object
Constructor and Description |
---|
FlushElement(java.lang.Object key,
long newTime)
Creates the flush element object with the key of the actual
element, and the time that elements will be flushed.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getKey()
Returns the key of the element.
|
long |
getTimeValue()
Returns the flush time for this element.
|
java.lang.String |
toString()
Converts this object to String format.
|
public FlushElement(java.lang.Object key, long newTime)
public long getTimeValue()
public java.lang.Object getKey()
public java.lang.String toString()
toString
in class java.lang.Object