public interface MetadataCache
| Modifier and Type | Method and Description |
|---|---|
void |
dispose(org.mule.datasense.api.metadataprovider.CompatibleComponentAst componentAst)
Dispose the entries that are related to the received
CompatibleComponentAst. |
org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.metadata.MetadataKeysContainer> |
getMetadataKeys(org.mule.datasense.api.metadataprovider.CompatibleComponentAst componentAst,
Callable<org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.metadata.MetadataKeysContainer>> resolver)
Gets the key metadata for the given CompatibleComponentAst) , 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.datasense.api.metadataprovider.CompatibleComponentAst 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
CompatibleComponentAst, 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.datasense.api.metadataprovider.CompatibleComponentAst 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
CompatibleComponentAst, if not present the
Callable should be called and result stored in order to resolve the metadata. |
void |
invalidateMetadataKeysFor(org.mule.datasense.api.metadataprovider.CompatibleComponentAst componentAst)
Invalidate the metadata keys that are related to the received
CompatibleComponentAst
Unlike dispose(CompatibleComponentAst), if the CompatibleComponentAst 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.datasense.api.metadataprovider.CompatibleComponentAst componentAst,
Callable<org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.meta.model.operation.OperationModel>> resolver)
CompatibleComponentAst, 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.datasense.api.metadataprovider.CompatibleComponentAst componentAst,
Callable<org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.meta.model.source.SourceModel>> resolver)
CompatibleComponentAst, 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.metadata.MetadataKeysContainer> getMetadataKeys(org.mule.datasense.api.metadataprovider.CompatibleComponentAst componentAst,
Callable<org.mule.runtime.api.metadata.resolving.MetadataResult<org.mule.runtime.api.metadata.MetadataKeysContainer>> resolver)
componentModel - of the operation for which to get the metadataresolver - the callback that knows how to fetch the metadata on Mule Runtime.void dispose(org.mule.datasense.api.metadataprovider.CompatibleComponentAst componentAst)
CompatibleComponentAst.
If the CompatibleComponentAst 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.datasense.api.metadataprovider.CompatibleComponentAst componentAst)
CompatibleComponentAst
Unlike dispose(CompatibleComponentAst), if the CompatibleComponentAst corresponds to a configuration,
only the metadata key entries that are related to that configuration id will be invalidatedcomponentAst - Copyright © 2019 MuleSoft, Inc.. All rights reserved.