Class StateEntry

java.lang.Object
org.pipservices3.components.state.StateEntry

public class StateEntry extends Object
Data object to store state values with their keys used by StateEntry
  • Constructor Details

  • Method Details

    • getKey

      public String getKey()
      Gets the key to locate the state value.
      Returns:
      the value key.
    • getValue

      public Object getValue()
      Gets the sstate value.
      Returns:
      the value object.
    • getLastUpdateTime

      public long getLastUpdateTime()
      Gets the last update time.
      Returns:
      the timestamp when the value ware stored.
    • setValue

      public void setValue(Object value)
      Sets a new state value.
      Parameters:
      value - a new cached value.