public class DefaultMetadataCacheStorageFactoryContext extends Object implements MetadataCacheStorageFactoryContext
| Constructor and Description |
|---|
DefaultMetadataCacheStorageFactoryContext(String toolingArtifactId,
URL artifactContentUrl,
Map<String,String> toolingArtifactProperties,
MetadataCacheStorageSerializer valueSerializer) |
| Modifier and Type | Method and Description |
|---|---|
URL |
getArtifactContentUrl() |
String |
getToolingArtifactId() |
Map<String,String> |
getToolingArtifactProperties() |
MetadataCacheStorageSerializer |
getValueSerializer() |
public String getToolingArtifactId()
getToolingArtifactId in interface MetadataCacheStorageFactoryContextToolingArtifact for which the cache is being created.public URL getArtifactContentUrl()
getArtifactContentUrl in interface MetadataCacheStorageFactoryContextURL for the Artifact's contentpublic Map<String,String> getToolingArtifactProperties()
getToolingArtifactProperties in interface MetadataCacheStorageFactoryContextMap with properties used to create the MetadataCacheStoragepublic MetadataCacheStorageSerializer getValueSerializer()
getValueSerializer in interface MetadataCacheStorageFactoryContextMetadataCacheStorageSerializer that should be used to serialize and deserialize values used in the cache in case is needed.Copyright © 2020 MuleSoft, Inc.. All rights reserved.