public interface ClusteringService
extends org.ehcache.spi.persistence.PersistableResourceService
| Modifier and Type | Interface and Description | 
|---|---|
| static interface  | ClusteringService.ClusteredCacheIdentifierA  PersistenceSpaceIdentifierthat can provide an id. | 
| Modifier and Type | Method and Description | 
|---|---|
| ClusteringServiceConfiguration | getConfiguration() | 
| <K,V> org.ehcache.clustered.client.internal.store.ServerStoreProxy | getServerStoreProxy(ClusteringService.ClusteredCacheIdentifier cacheIdentifier,
                   org.ehcache.core.spi.store.Store.Configuration<K,V> storeConfig,
                   Consistency consistency)Gets a  ServerStoreProxythough which a server-residentServerStoreis accessed. | 
| void | releaseServerStoreProxy(org.ehcache.clustered.client.internal.store.ServerStoreProxy serverStoreProxy)Releases access to a  ServerStoreProxyand the server-residentServerStoreit represents. | 
ClusteringServiceConfiguration getConfiguration()
<K,V> org.ehcache.clustered.client.internal.store.ServerStoreProxy getServerStoreProxy(ClusteringService.ClusteredCacheIdentifier cacheIdentifier, org.ehcache.core.spi.store.Store.Configuration<K,V> storeConfig, Consistency consistency) throws org.ehcache.CachePersistenceException
ServerStoreProxy though which a server-resident ServerStore is accessed.K - the cache-exposed key typeV - the cache-exposed value typecacheIdentifier - the ClusteredCacheIdentifier for the cache for which a
                        ServerStoreProxy is requestedstoreConfig - the configuration used for the Store for which the ServerStoreProxy
                    is requestedconsistency - the store's consistencyServerStoreProxyorg.ehcache.CachePersistenceException - if the cacheIdentifier is unknown or the ServerStoreProxy cannot be createdvoid releaseServerStoreProxy(org.ehcache.clustered.client.internal.store.ServerStoreProxy serverStoreProxy)
ServerStoreProxy and the server-resident ServerStore it represents.serverStoreProxy - a ServerStoreProxy obtained through getServerStoreProxy(org.ehcache.clustered.client.service.ClusteringService.ClusteredCacheIdentifier, org.ehcache.core.spi.store.Store.Configuration<K, V>, org.ehcache.clustered.common.Consistency)