Provided FQN for the `ValueCache` (#2226)
Signed-off-by: Oleg Andreych <kjiec4@gmail.com>pull/2230/head
parent
1025a02fc6
commit
5e1ed479e3
|
@ -441,7 +441,7 @@ It is cleared when the script engine is unloaded (i.e. usually when the script i
|
||||||
|
|
||||||
In both cases values that are either a `ScheduledFuture<?>` or a `Timer` are cancelled by calling `.cancel()` on the object if the object is removed automatically.
|
In both cases values that are either a `ScheduledFuture<?>` or a `Timer` are cancelled by calling `.cancel()` on the object if the object is removed automatically.
|
||||||
|
|
||||||
Both caches implement the `ValueCache` interface and therefore can be accessed by
|
Both caches implement the `org.openhab.core.automation.module.script.rulesupport.shared.ValueCache` interface and therefore can be accessed by
|
||||||
|
|
||||||
- `Object put(String key, Object value)`: Put a key/value pair to the cache. Returns old value if already set, otherwise `null`.
|
- `Object put(String key, Object value)`: Put a key/value pair to the cache. Returns old value if already set, otherwise `null`.
|
||||||
- `Object remove(String key)`: Remove the key/value pair from the cache. Returns old value if already set, otherwise `null`.
|
- `Object remove(String key)`: Remove the key/value pair from the cache. Returns old value if already set, otherwise `null`.
|
||||||
|
|
Loading…
Reference in New Issue