|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.wsspi.cache.DistributedObjectCacheFactory
public class 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_CLEANUP_FREQUENCY
Property key to specify the frequency at which the disk cache cleanup daemon should remove expired entries from the disk cache. |
static java.lang.String |
KEY_DISK_DELAY_OFFLOAD_DEPID_BUCKETS
Property key to provide a way to limit the buffering of dependency ID information by specifying an upper bound on the number of dependencies that will be buffered in memory. |
static java.lang.String |
KEY_DISK_DELAY_OFFLOAD_ENTRIES_LIMIT
Property key to provide a way to limit the buffering of dependency and template information by specify an upper bound on the number of cache entries any specific dependency can contain for buffering in memory. |
static java.lang.String |
KEY_DISK_DELAY_OFFLOAD_TEMPLATE_BUCKETS
Property key to provide a way to limit the buffering of template information by specifying an upper bound on the number of templates that will be buffered in memory. |
static java.lang.String |
KEY_DISK_OFFLOAD_LOCATION
Property key to specify the disk offload location. |
static java.lang.String |
KEY_DISKCACHE_ENTRY_SIZE_MB
Property key to specify the limit of disk cache entry size in MB. |
static java.lang.String |
KEY_DISKCACHE_EVICTION_POLICY
Property key to specify the disk cache eviction policy. |
static java.lang.String |
KEY_DISKCACHE_HIGH_THRESHOLD
Property key to specify the high threshold in percentage. |
static java.lang.String |
KEY_DISKCACHE_LOW_THRESHOLD
Property key to specify the low threshold in percentage. |
static java.lang.String |
KEY_DISKCACHE_PERFORMANCE_LEVEL
Property key to specify the disk cache performance level. |
static java.lang.String |
KEY_DISKCACHE_SIZE
Property key to specify the limit of disk cache size in entries. |
static java.lang.String |
KEY_DISKCACHE_SIZE_GB
Property key to specify the limit of disk cache size in GB. |
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_LRU_TO_DISK_TRIGGER_PERCENT
Property key to specify the limit of percentage of the memory cache size used as a overflow buffer when disk offload is enabled. |
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 KEY_DISKCACHE_PERFORMANCE_LEVEL
public static final java.lang.String KEY_DISK_CLEANUP_FREQUENCY
public static final java.lang.String KEY_DISK_DELAY_OFFLOAD_ENTRIES_LIMIT
public static final java.lang.String KEY_DISK_DELAY_OFFLOAD_DEPID_BUCKETS
public static final java.lang.String KEY_DISK_DELAY_OFFLOAD_TEMPLATE_BUCKETS
public static final java.lang.String KEY_DISKCACHE_EVICTION_POLICY
public static final java.lang.String KEY_DISKCACHE_HIGH_THRESHOLD
public static final java.lang.String KEY_DISKCACHE_LOW_THRESHOLD
public static final java.lang.String KEY_DISKCACHE_SIZE
public static final java.lang.String KEY_DISKCACHE_SIZE_GB
public static final java.lang.String KEY_DISKCACHE_ENTRY_SIZE_MB
public static final java.lang.String KEY_LRU_TO_DISK_TRIGGER_PERCENT
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 |