|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.wsspi.cache.DistributedObjectCacheFactory
This class provides components with factory methods to create/lookup instances of a DistributedObjectCache. Each DistributedObjectCache instance can be configured independently. Use the DistributedObjectCache.getMapType method to determine the map type.
DistributedMap
,
DistributedNioMap
Field Summary | |
---|---|
static java.lang.String |
KEY_CACHE_SIZE
Property key to specify cache size. |
static java.lang.String |
KEY_DISABLE_DEPENDENCY_ID
Property key to disble dependency support. |
static java.lang.String |
KEY_DISABLE_TEMPLATES_SUPPORT
Property key to disble template support. |
static java.lang.String |
KEY_DISK_OFFLOAD_LOCATION
Property key to specify the disk offload location. |
static java.lang.String |
KEY_ENABLE_CACHE_REPLICATION
Property key to enable cache replication. |
static java.lang.String |
KEY_ENABLE_DISK_OFFLOAD
Property key to disble template support. |
static java.lang.String |
KEY_ENABLE_NIO_SUPPORT
Property key to enable nio support. |
static java.lang.String |
KEY_FLUSH_TO_DISK_ON_STOP
Property key to enable flushing cache contents to disk when the server is stopped. |
static java.lang.String |
KEY_REPLICATION_DOMAIN
Property key to specify the replication domain. |
static java.lang.String |
KEY_USE_LISTENER_CONTEXT
Property key to enable listener context on callbacks. |
static java.lang.String |
VALUE_FALSE
Property value for false. |
static java.lang.String |
VALUE_TRUE
Property value for true. |
Method Summary | |
---|---|
static DistributedObjectCache |
getMap(java.lang.String name)
Returns the DistributedMap instance specified by the given id. |
static DistributedObjectCache |
getMap(java.lang.String name,
java.util.Properties properties)
Returns the DistributedMap or DistributedNioMap instance specified by the given id, using the the parameters specified in properties. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String KEY_CACHE_SIZE
public static final java.lang.String KEY_DISABLE_DEPENDENCY_ID
public static final java.lang.String KEY_DISABLE_TEMPLATES_SUPPORT
public static final java.lang.String KEY_ENABLE_DISK_OFFLOAD
public static final java.lang.String KEY_ENABLE_NIO_SUPPORT
DistributedNioMap
,
Constant Field Valuespublic static final java.lang.String KEY_DISK_OFFLOAD_LOCATION
public static final java.lang.String KEY_USE_LISTENER_CONTEXT
public static final java.lang.String KEY_FLUSH_TO_DISK_ON_STOP
public static final java.lang.String KEY_ENABLE_CACHE_REPLICATION
public static final java.lang.String KEY_REPLICATION_DOMAIN
public static final java.lang.String VALUE_TRUE
public static final java.lang.String VALUE_FALSE
Method Detail |
public static DistributedObjectCache getMap(java.lang.String name)
name
- instance name
getMap(String, Properties)
public static DistributedObjectCache getMap(java.lang.String name, java.util.Properties properties)
name
- instance nameproperties
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |