com.ibm.websphere.cache

Class DistributedObjectCache

  • java.lang.Object
    • com.ibm.websphere.cache.DistributedObjectCache
  • All Implemented Interfaces:
    DistributedMap, DistributedNioMap, java.util.Map


    public abstract class DistributedObjectCache
    extends java.lang.Object
    implements DistributedNioMap, DistributedMap
    Abstract class implementing DistributedMap and DistributedNioMap. When doing a JNDI lookup on a DistributedMap or a DistributedNioMap, the actual object type returned from the lookup is DistributedObjectCache. If you absolutly do not know map type to be returned from the JNDI lookup, use the getMapType() to verify the type. Otherwise, you can directly cast to DistributedMap or DistributedNioMap.
    Since:
    v6.0
    See Also:
    DistributedMap, DistributedNioMap
    • Field Detail

      • TYPE_DISTRIBUTED_MAP

        public static final int TYPE_DISTRIBUTED_MAP
        The underlying map represented by this DistributedObjectCache is of type DistributedMap.
        Since:
        v6.0
        See Also:
        DistributedMap, Constant Field Values
      • TYPE_DISTRIBUTED_LOCKING_MAP

        public static final int TYPE_DISTRIBUTED_LOCKING_MAP
        Deprecated. TYPE_DISTRIBUTED_LOCKING_MAP is no longer used.
        The underlying map represented by this DistributedObjectCache is of type DistributedLockingMap.
        Since:
        v6.0
        See Also:
        DistributedMap, Constant Field Values
      • TYPE_DISTRIBUTED_NIO_MAP

        public static final int TYPE_DISTRIBUTED_NIO_MAP
        The underlying map represented by this DistributedObjectCache is of type DistributedNioMap.
        Since:
        v6.0
        See Also:
        DistributedMap, Constant Field Values
    • Constructor Detail

      • DistributedObjectCache

        public DistributedObjectCache()
    • Method Detail

      • getMapType

        public abstract int getMapType()
        Returns the underlying map type for this DistribuedObjectCache.
        Returns:
        mapType
        TYPE_DISTRIBUTED_MAP
        TYPE_DISTRIBUTED_NIO_MAP
        Since:
        v6.0
        See Also:
        DistributedMap, DistributedNioMap
IBM WebSphere Application ServerTM
Release 8.5