T - the generic type of the instances contained in the ObjectStorepublic class LazyObjectStoreToMapAdapter<T extends Serializable>
extends org.mule.runtime.api.store.ObjectStoreToMapAdapter<T>
ObjectStoreToMapAdapter which delays effectively obtaining the ObjectStore
to be bridged until it's absolutely necessary.
This is useful for cases in which the adapter is to be created at a time in which the object store may not be already available.
| Constructor and Description |
|---|
LazyObjectStoreToMapAdapter(Supplier<org.mule.runtime.api.store.ObjectStore<T>> objectStoreSupplier) |
| Modifier and Type | Method and Description |
|---|---|
org.mule.runtime.api.store.ObjectStore<T> |
getObjectStore() |
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, valuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllpublic org.mule.runtime.api.store.ObjectStore<T> getObjectStore()
getObjectStore in class org.mule.runtime.api.store.ObjectStoreToMapAdapter<T extends Serializable>Copyright © 2003–2019 MuleSoft, Inc.. All rights reserved.