pip_services3_components.state.StateEntry module
-
class
pip_services3_components.state.StateEntry.StateEntry(key: str, value: Any) Bases:
objectData object to store state values with their keys used by
MemoryStateStore-
get_last_update_time() → int Gets the last update time.
- Returns
the timestamp when the value ware stored.
-
get_value() Gets the sstate value.
- Returns
the value object.
-
set_value(value: Any) Sets a new state value.
- Parameters
value – a new cached value.
-