public interface MetadataCache
Metadata and should be implemented by clients to provide a persistent mechanism for it.| Modifier and Type | Interface and Description |
|---|---|
static interface |
MetadataCache.MetadataCacheKeyInfo
Set of attributes provided for clients to build a key and search for a cache entry.
|
static interface |
MetadataCache.MetadataResult
The result of the invocation to the
Callable for loading the metadata from Mule Runtime. |
| Modifier and Type | Method and Description |
|---|---|
Serializable |
getMetadataKeys(MetadataCache.MetadataCacheKeyInfo metadataCacheKeyInfo,
Callable<MetadataCache.MetadataResult> resolver)
|
Serializable |
getOperationMetadata(MetadataCache.MetadataCacheKeyInfo metadataCacheKeyInfo,
Callable<MetadataCache.MetadataResult> resolver)
|
Serializable |
getSourceMetadata(MetadataCache.MetadataCacheKeyInfo metadataCacheKeyInfo,
Callable<MetadataCache.MetadataResult> resolver)
|
Serializable getOperationMetadata(MetadataCache.MetadataCacheKeyInfo metadataCacheKeyInfo, Callable<MetadataCache.MetadataResult> resolver)
componentId, Location and timestamp, if not present the
Callable should be called and result stored in order to resolve the metadata.metadataCacheKeyInfo - the MetadataCache.MetadataCacheKeyInfo that provides all the information to clients for building the
key.resolver - the callback that knows how to fetch the metadata (serialized to JSON) on Mule Runtime.Serializable getSourceMetadata(MetadataCache.MetadataCacheKeyInfo metadataCacheKeyInfo, Callable<MetadataCache.MetadataResult> resolver)
componentId, Location and timestamp, if not present the
Callable should be called and result stored in order to resolve the metadata.metadataCacheKeyInfo - the MetadataCache.MetadataCacheKeyInfo that provides all the information to clients for building the
key.resolver - the callback that knows how to fetch the metadata (serialized to JSON) on Mule Runtime.Serializable getMetadataKeys(MetadataCache.MetadataCacheKeyInfo metadataCacheKeyInfo, Callable<MetadataCache.MetadataResult> resolver)
componentId, Location and timestamp, if not present the
Callable should be called and result stored in order to resolve the metadata.metadataCacheKeyInfo - the MetadataCache.MetadataCacheKeyInfo that provides all the information to clients for building the
key.resolver - the callback that knows how to fetch the metadata (serialized to JSON) on Mule Runtime.Copyright © 2023 MuleSoft, Inc.. All rights reserved.