Class TimeSeriesEntry<V,L>

java.lang.Object
org.redisson.api.TimeSeriesEntry<V,L>
Type Parameters:
V - value type
L - label type

public class TimeSeriesEntry<V,L> extends Object
Time-series collection entry
Author:
Nikita Koksharov
  • Constructor Details

    • TimeSeriesEntry

      public TimeSeriesEntry(long timestamp, V value)
    • TimeSeriesEntry

      public TimeSeriesEntry(long timestamp, V value, L label)
  • Method Details

    • getTimestamp

      public long getTimestamp()
    • getValue

      public V getValue()
    • getLabel

      public L getLabel()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object