Overview | Package | Class | Tree | Index | Help

Oracle® Coherence Java API Reference
v3.5.3
E15583-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.tangosol.net
Interface DistributedCacheService

All Superinterfaces:
  CacheService, ClassLoaderAware, Controllable, PartitionedService, Service

    public interface DistributedCacheService

extends CacheService, PartitionedService

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

Field Summary

Fields inherited from interface com.tangosol.net.CacheService
`TYPE_DISTRIBUTED, TYPE_LOCAL, TYPE_OPTIMISTIC, TYPE_REMOTE, TYPE_REPLICATED`

Method Summary
`java.util.Set` | `getStorageEnabledMembers()` Return a Set of Member objects, one for each Member that has registered this Service and has local storage enabled.
`boolean` | `isLocalStorageEnabled()` Determine if local storage is enabled on this member.

Methods inherited from interface com.tangosol.net.CacheService
`destroyCache, ensureCache, getBackingMapManager, getCacheNames, releaseCache, setBackingMapManager`

Methods inherited from interface com.tangosol.net.Service
`addMemberListener, getCluster, getInfo, getSerializer, getUserContext, removeMemberListener, setUserContext`

Methods inherited from interface com.tangosol.util.Service
`addServiceListener, removeServiceListener`

Methods inherited from interface com.tangosol.util.Controllable
`configure, isRunning, shutdown, start, stop`

Methods inherited from interface com.tangosol.io.ClassLoaderAware
`getContextClassLoader, setContextClassLoader`

Methods inherited from interface com.tangosol.net.PartitionedService
`getBackupCount, getKeyAssociator, getKeyOwner, getKeyPartitioningStrategy, getOwnedPartitions, getPartitionAssignmentStrategy, getPartitionCount`

Methods inherited from interface com.tangosol.net.Service
`addMemberListener, getCluster, getInfo, getSerializer, getUserContext, removeMemberListener, setUserContext`

Methods inherited from interface com.tangosol.util.Service
`addServiceListener, removeServiceListener`

Methods inherited from interface com.tangosol.util.Controllable
`configure, isRunning, shutdown, start, stop`

Methods inherited from interface com.tangosol.io.ClassLoaderAware
`getContextClassLoader, setContextClassLoader`

Method Detail

### 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

    java.util.Set getStorageEnabledMembers()

  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:
    `ServiceInfo.getServiceMembers()`

Overview | Package | Class | Tree | Index | Help

Oracle® Coherence Java API Reference
v3.5.3
E15583-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000, 2010, Oracle. All rights reserved.