Class FlushElement

java.lang.Object
com.nt.udc.util.table.FlushElement

public class FlushElement extends Object
This class simply holds the information related to an element that needs to be flushed by a Timer-related flush class.
  • Constructor Details

    • FlushElement

      public FlushElement(Object key, long newTime)
      Creates the flush element object with the key of the actual element, and the time that elements will be flushed.
  • Method Details

    • getTimeValue

      public long getTimeValue()
      Returns the flush time for this element.
      Returns:
      flush time
    • getKey

      public Object getKey()
      Returns the key of the element.
      Returns:
      element key
    • toString

      public String toString()
      Converts this object to String format.
      Overrides:
      toString in class Object