Package com.tangosol.net
Interface DistributedCacheService
- All Superinterfaces:
CacheService,ClassLoaderAware,Controllable,PartitionedService,Service,Service
- All Known Subinterfaces:
FederatedCacheService,PagedTopicService
A DistributedCacheService is a clustered cache service that partitions its
data across cluster members that provide backing storage.
- Since:
- Coherence 2.3
- Author:
- cp 2003.10.01
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.tangosol.net.CacheService
CacheService.CacheActionNested classes/interfaces inherited from interface com.tangosol.net.PartitionedService
PartitionedService.PartitionedAction, PartitionedService.PartitionRecoveryActionNested classes/interfaces inherited from interface com.tangosol.net.Service
Service.MemberJoinAction -
Field Summary
Fields inherited from interface com.tangosol.net.CacheService
TYPE_DISTRIBUTED, TYPE_FEDERATED, TYPE_LOCAL, TYPE_OPTIMISTIC, TYPE_PAGED_TOPIC, TYPE_REMOTE, TYPE_REMOTE_GRPC, TYPE_REPLICATED -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.booleanDetermine if local storage is enabled on this member.Methods inherited from interface com.tangosol.net.CacheService
destroyCache, ensureCache, getBackingMapManager, getCacheNames, releaseCache, setBackingMapManagerMethods inherited from interface com.tangosol.io.ClassLoaderAware
getContextClassLoader, setContextClassLoaderMethods inherited from interface com.tangosol.util.Controllable
configure, isRunning, shutdown, start, stopMethods inherited from interface com.tangosol.net.PartitionedService
addPartitionListener, getBackupCount, getBackupOwner, getBackupStrength, getBackupStrengthName, getKeyAssociator, getKeyOwner, getKeyPartitioningStrategy, getOwnedPartitions, getOwnershipEnabledMembers, getOwnershipSenior, getOwnershipVersion, getPartitionAssignmentStrategy, getPartitionCount, getPartitionOwner, getPersistenceMode, instantiateKeyToBinaryConverter, removePartitionListenerMethods inherited from interface com.tangosol.net.Service
addMemberListener, getCluster, getDependencies, getInfo, getMinimumServiceVersion, getResourceRegistry, getSerializer, getUserContext, isSuspended, isVersionCompatible, isVersionCompatible, isVersionCompatible, isVersionCompatible, removeMemberListener, setDependencies, setUserContextMethods inherited from interface com.tangosol.util.Service
addServiceListener, removeServiceListener
-
Method Details
-
isLocalStorageEnabled
boolean isLocalStorageEnabled()Determine if local storage is enabled on this member.- Returns:
- true if local storage is enabled on this member; false otherwise
-
getStorageEnabledMembers
Set getStorageEnabledMembers()Deprecated.As of Coherence 3.6, replaced byPartitionedService.getOwnershipEnabledMembers().Return a Set of Member objects, one for each Member that has registered this Service and has local storage enabled.- Returns:
- a set of Member objects that provide local storage for this distributed cache service
- See Also:
-
PartitionedService.getOwnershipEnabledMembers().