T - the generic type of the instances contained in the ListableObjectStorepublic class LazyObjectStoreToMapAdapter<T extends Serializable> extends ObjectStoreToMapAdapter<T>
ObjectStoreToMapAdapter which delays effectively obtaining the ListableObjectStore
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<ListableObjectStore<T>> objectStoreSupplier) |
| Modifier and Type | Method and Description |
|---|---|
ListableObjectStore<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 LazyObjectStoreToMapAdapter(Supplier<ListableObjectStore<T>> objectStoreSupplier)
public ListableObjectStore<T> getObjectStore()
getObjectStore in class ObjectStoreToMapAdapter<T extends Serializable>Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.