public final class KeyValueStateSupport extends Object
InterRequestStateMgmt
to replicate or share the data in a clustered environment.| Constructor and Description |
|---|
KeyValueStateSupport() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getValue(String key)
Retrieves a value based on a globally unique key
|
Object |
removeValue(String key)
Retrieves and removes a value based on a globally unique key
|
void |
setValue(String key,
Object value)
Stores globally unique key value pair.
|
public void setValue(String key, Object value)
NOTE: The value is going to be replaced if a key is reused.
key - the key of the attribute, must be globally uniquevalue - the attribute valuepublic Object getValue(String key)
key - the key of the attribute, must be globally uniqueCopyright 2019 Ping Identity Corp. All rights reserved.