public interface MetadataCache
MetadataContentResolver,
MetadataKeysResolver and MetadataOutputResolver| Modifier and Type | Method and Description |
|---|---|
<T extends Serializable> |
get(Serializable key) |
void |
put(Serializable key,
Serializable value)
Associates the specified value with the specified key in the cache.
|
void |
putAll(Map<? extends Serializable,? extends Serializable> values)
Copies all of the entries from the specified map to the cache.
|
void put(Serializable key, Serializable value)
key - a key to associate the specified valuevalue - the value to persist in the cachevoid putAll(Map<? extends Serializable,? extends Serializable> values)
values - values to be stored in the cache<T extends Serializable> Optional<T> get(Serializable key)
key - the key whose associated value is to be returnedOption.empty() if this map contains no value for the specified key.Copyright © 2016 MuleSoft, Inc.. All rights reserved.