public class DefaultCacheStorageFactoryContext extends Object implements CacheStorageFactoryContext
| Constructor and Description |
|---|
DefaultCacheStorageFactoryContext(String toolingArtifactId,
URL artifactContentUrl,
Map<String,String> toolingArtifactProperties,
CacheStorageSerializer storageSerializer) |
| Modifier and Type | Method and Description |
|---|---|
URL |
getArtifactContentUrl() |
CacheStorageSerializer |
getStorageSerializer() |
String |
getToolingArtifactId() |
Map<String,String> |
getToolingArtifactProperties() |
public String getToolingArtifactId()
getToolingArtifactId in interface CacheStorageFactoryContextToolingArtifact for which the cache is being created.public URL getArtifactContentUrl()
getArtifactContentUrl in interface CacheStorageFactoryContextURL for the Artifact's contentpublic Map<String,String> getToolingArtifactProperties()
getToolingArtifactProperties in interface CacheStorageFactoryContext with properties used to create the CacheStoragepublic CacheStorageSerializer getStorageSerializer()
getStorageSerializer in interface CacheStorageFactoryContextCacheStorageSerializer that should be used to serialize and deserialize values used in the cache in case is
needed.Copyright © 2022 MuleSoft, Inc.. All rights reserved.