public class FakeObjectStore<T extends Serializable> extends Object implements ObjectStore<T>
| Constructor and Description |
|---|
FakeObjectStore() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
contains(Serializable key) |
boolean |
isPersistent() |
T |
remove(Serializable key) |
T |
retrieve(Serializable key) |
void |
store(Serializable key,
T value) |
public boolean contains(Serializable key) throws ObjectStoreException
contains in interface ObjectStore<T extends Serializable>ObjectStoreExceptionpublic void clear()
throws ObjectStoreException
clear in interface ObjectStore<T extends Serializable>ObjectStoreExceptionpublic void store(Serializable key, T value) throws ObjectStoreException
store in interface ObjectStore<T extends Serializable>ObjectStoreExceptionpublic T retrieve(Serializable key) throws ObjectStoreException
retrieve in interface ObjectStore<T extends Serializable>ObjectStoreExceptionpublic T remove(Serializable key) throws ObjectStoreException
remove in interface ObjectStore<T extends Serializable>ObjectStoreExceptionpublic boolean isPersistent()
isPersistent in interface ObjectStore<T extends Serializable>Copyright © 2003–2021 MuleSoft, Inc.. All rights reserved.