public interface VCacheCreationHandler
The implementation is passed the proposed cache details and must return
the ultimate cache settings that will be used. None of the returned settings are allowed to be
Optional.empty(). The implementation should throw a
VCacheException if the cache should not be created.
| Modifier and Type | Method and Description |
|---|---|
ExternalCacheSettings |
externalCacheCreation(ExternalCacheDetails details)
Validates the settings for a
ExternalCache. |
JvmCacheSettings |
jvmCacheCreation(JvmCacheDetails details)
Validates the settings for a
JvmCache. |
void |
requestCacheCreation(String name)
Validates the settings for a
RequestCache. |
JvmCacheSettings jvmCacheCreation(JvmCacheDetails details) throws VCacheException
JvmCache.details - the proposed details for the cache.VCacheException - if the cache should not be createdvoid requestCacheCreation(String name)
RequestCache.name - the proposed name for the cache.VCacheException - if the cache should not be createdExternalCacheSettings externalCacheCreation(ExternalCacheDetails details)
ExternalCache.details - the proposed details for the cache.VCacheException - if the cache should not be createdCopyright © 2016 Atlassian. All rights reserved.