PersistentMap provides an interface to a generic store that stores the state of a component of the Rhapsody engine. The component includes communication points. The state persister allows up to 256 different keys, and thus 256 arbitrary values, associated with the provided component to be stored in the PersistentMapStore.
Method | Description |
---|---|
|
Associates the specified value with the component in the persistent map store. If the persistent map store contains an existing mapping for this key, the old value is replaced. Parameters:
Exceptions:
|
byte[] get(byte key) |
Obtains the value of which the persistent map store maps the specified component identifier. The return value would be null if the map contains no mapping for the provided component and the specified state key. Parameters:
Exceptions:
|
|
Removes the mapping for this value from this map if present. Parameters:
Exceptions:
|