Class TtlValue<T>

java.lang.Object
org.apache.flink.runtime.state.ttl.TtlValue<T>
Type Parameters:
T - Type of the user value of state with TTL
All Implemented Interfaces:
Serializable

public class TtlValue<T> extends Object implements Serializable
This class wraps user value of state with TTL. Visibility is public for usage with external tools.
See Also:
  • Constructor Details

    • TtlValue

      public TtlValue(@Nullable T userValue, long lastAccessTimestamp)
  • Method Details

    • getUserValue

      @Nullable public T getUserValue()
    • getLastAccessTimestamp

      public long getLastAccessTimestamp()