public static interface HigherCachingTier.Provider extends Service
Service interface for providing HigherCachingTier instances.| Modifier and Type | Method and Description |
|---|---|
<K,V> HigherCachingTier<K,V> |
createHigherCachingTier(Store.Configuration<K,V> storeConfig,
ServiceConfiguration<?,?>... serviceConfigs)
Creates a new
HigherCachingTier instance using the provided configuration |
void |
initHigherCachingTier(HigherCachingTier<?,?> resource)
Initialises a
HigherCachingTier. |
void |
releaseHigherCachingTier(HigherCachingTier<?,?> resource)
Releases a
HigherCachingTier. |
<K,V> HigherCachingTier<K,V> createHigherCachingTier(Store.Configuration<K,V> storeConfig, ServiceConfiguration<?,?>... serviceConfigs)
HigherCachingTier instance using the provided configurationK - the key type for this tierV - the value type for this tierstoreConfig - the Store configurationserviceConfigs - a collection of service configurationsvoid releaseHigherCachingTier(HigherCachingTier<?,?> resource)
HigherCachingTier.resource - the higher caching tier to releasejava.lang.IllegalArgumentException - if this provider does not know about this higher caching tiervoid initHigherCachingTier(HigherCachingTier<?,?> resource)
HigherCachingTier.resource - the higher caching tier to initialise