| Package | Description |
|---|---|
| org.mule.runtime.api.store |
| Modifier and Type | Class and Description |
|---|---|
class |
ObjectAlreadyExistsException
This exception is thrown when an
ObjectStore tries to store a value using a key for which another value
is already present. |
class |
ObjectDoesNotExistException
This exception is thrown when an
ObjectStore attempts to operate on a key for which it doesn't
have an associated value |
class |
ObjectStoreNotAvailableException
This exception is thrown when the underlying to an
ObjectStore's system fails. |
| Modifier and Type | Method and Description |
|---|---|
void |
ObjectStore.clear()
Removes all items of this store without disposing it, meaning that after performing a clear(), you should still be able
perform other operations.
|
boolean |
ObjectStore.contains(Serializable key)
Check whether the given Object is already registered with this store.
|
void |
ObjectStoreManager.disposeStore(ObjectStore<? extends Serializable> store)
Delete all objects from the partition
|
T |
ObjectStore.remove(Serializable key)
Remove the object with key.
|
T |
ObjectStore.retrieve(Serializable key)
Retrieve the given Object.
|
void |
ObjectStore.store(Serializable key,
T value)
Store the given Object.
|
Copyright © 2017 MuleSoft, Inc.. All rights reserved.