com.ibm.ws.cache.spi

Class DistributedMapFactory

  1. java.lang.Object
  2. extended bycom.ibm.ws.cache.spi.DistributedMapFactory

  1. public class DistributedMapFactory
  2. extends java.lang.Object
This class provides internal WAS components with factory methods to create/lookup instances of a DistributedMap. Each DistributedMap instance can be configured independently.

Method Summary

Modifier and Type Method and Description
  1. static
  2. DistributedMap
getMap(java.lang.String name)
Deprecated. Use DistributedObjectCacheFactory
  1. static
  2. DistributedMap
getMap(java.lang.String name,java.util.Properties properties)
Deprecated. Use DistributedObjectCacheFactory
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Method Detail

getMap

  1. public static DistributedMap getMap( java.lang.String name)
Deprecated. Use DistributedObjectCacheFactory
Returns the DistributedMap instance specified by the given id. If the given instance has not yet been created, then a new instance is created using the default parameters.
Parameters:
name - instance name of the DistributedMap
Returns:
A DistributedMap instance
See Also:

getMap

  1. public static DistributedMap getMap( java.lang.String name,
  2. java.util.Properties properties)
Deprecated. Use DistributedObjectCacheFactory
Returns the DistributedMap instance specified by the given id, using the the parameters specified in properties. If the given instance has not yet been created, then a new instance is created using the parameters specified in the properties object.
Properties:
com.ibm.ws.cache.CacheConfig.CACHE_SIZEinteger the maximum number of cache entries
com.ibm.ws.cache.CacheConfig.ENABLE_DISK_OFFLOAD boolean true to enable disk offload
com.ibm.ws.cache.CacheConfig.DISK_OFFLOAD_LOCATIONdirectory to contain offloaded cache entries
Parameters:
name - instance name of the DistributedMap
properties -
Returns:
A DistributedMap instance
See Also: