public interface MetadataCache
| Modifier and Type | Method and Description |
|---|---|
void |
dispose(org.mule.runtime.ast.api.ComponentAst componentAst)
Dispose the entries that are related to the received
ComponentAst. |
org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.metadata.MetadataKeysContainer> |
getMetadataKeys(org.mule.runtime.ast.api.ComponentAst componentAst,
Callable<org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.metadata.MetadataKeysContainer>> resolver)
Gets the key metadata for the given ComponentAst) , if not present the {@link Callable} should be called and result
stored in order to resolve the metadata.
|
org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.meta.model.operation.OperationModel> |
getOperationMetadata(org.mule.runtime.ast.api.ComponentAst componentAst,
Callable<org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.meta.model.operation.OperationModel>> resolver)
Gets the operations metadata for the given
ComponentAst, if not present the Callable should be called and
result stored in order to resolve the metadata. |
org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.meta.model.source.SourceModel> |
getSourceMetadata(org.mule.runtime.ast.api.ComponentAst componentAst,
Callable<org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.meta.model.source.SourceModel>> resolver)
Gets the source metadata for the given
ComponentAst, if not present the Callable should be called and result
stored in order to resolve the metadata. |
void |
invalidateMetadataKeysFor(org.mule.runtime.ast.api.ComponentAst componentAst)
Invalidate the metadata keys that are related to the received
ComponentAst
Unlike dispose(ComponentAst), if the ComponentAst corresponds to a configuration, only the
metadata key entries that are related to that configuration id will be invalidated |
org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.meta.model.operation.OperationModel> getOperationMetadata(org.mule.runtime.ast.api.ComponentAst componentAst,
Callable<org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.meta.model.operation.OperationModel>> resolver)
ComponentAst, if not present the Callable should be called and
result stored in order to resolve the metadata.componentAst - of the operation for which to get the metadataresolver - the callback that knows how to fetch the metadata on Mule Runtime.org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.meta.model.source.SourceModel> getSourceMetadata(org.mule.runtime.ast.api.ComponentAst componentAst,
Callable<org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.meta.model.source.SourceModel>> resolver)
ComponentAst, if not present the Callable should be called and result
stored in order to resolve the metadata.componentAst - of the source for which to get the metadataresolver - the callback that knows how to fetch the metadata on Mule Runtime.org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.metadata.MetadataKeysContainer> getMetadataKeys(org.mule.runtime.ast.api.ComponentAst componentAst,
Callable<org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.metadata.MetadataKeysContainer>> resolver)
componentModel - of the component for which to get the metadataresolver - the callback that knows how to fetch the metadata on Mule Runtime.void dispose(org.mule.runtime.ast.api.ComponentAst componentAst)
ComponentAst. If the ComponentAst corresponds to a
configuration, then all metadata from all the operations that relate to that configuration will also be disposed.componentAst - void invalidateMetadataKeysFor(org.mule.runtime.ast.api.ComponentAst componentAst)
ComponentAst
Unlike dispose(ComponentAst), if the ComponentAst corresponds to a configuration, only the
metadata key entries that are related to that configuration id will be invalidatedcomponentAst - Copyright © 2022 MuleSoft, Inc.. All rights reserved.