This type is a class for model objects.
A Cache Instance is a location, in addition to the default shared Dynamic Cache, where any J2EE application can store, distribute, and share data. This gives application greater flexibility and greater tuning of the cache resources. The programming interface to access this cache instance is called DistributedMap. See the DistributedMap API documentation in the WebSphere javadoc for more information.
Package: dynacacheAttributes Summary | |
defaultPriority : EInt | The default priority for servlets that can be cached. It determines how long an entry will stay in a full cache. The recommended value is 1. |
hashSize : EInt | Specifies a hash size when disk offload is enabled. Valid values are powers of 2 (1, 2, 4, 8, ...). |
cacheSize : EInt | A positive integer defining the maximum number of entries the cache will hold. Values are usually in the thousands, with no set maximum or minimum. |
enableCacheReplication : EBoolean | @since 6.0.0 |
replicationType : DynamicCacheReplicationKind | Specifies the sharing policy of replicated objects across application servers. The value may be PUSH, PULL, PUSH_PULL or NONE, the default being NONE. |
pushFrequency : EInt | A time interval, specified in seconds, which is used when replication type is PUSH. Default value is 1. |
useListenerContext : EBoolean | Set this value to true to have invalidation events fired to registered invalidation listeners using the listener's J2EE context. Applicable only to Object Cache Instances (not Servlet Cache Instances). |
enableDiskOffload : EBoolean | Enables disk offloading. |
diskOffloadLocation : EString | Specifies a directory used for disk offload. This value is ignored if Enable Disk Offload is false. |
flushToDiskOnStop : EBoolean | Set this value to true to have in memory cached objects saved to disk when the server is stopped. This value is ignored if Enable Disk Offload is false. |
diskCachePerformanceLevel : DiskCachePerformanceKind | Specifies the level of performance required by this disk cache. This setting is applicable only if "enableDiskOffload" is specified for the cache. Performance levels determine how memory resources should should be used on background activity such as cache cleanup, expiration, garbage collection etc.. High performance indicates that all metadata will be kept in memory. Medium performance indicates some metadata will be kept in memory. This is the default performance setting, and will provide an optimal balance of performance and memory usage for most users. Low performance indicates that limited metadata will be kept in memory. Custom performance indicates that the Administrator will explicitly configure the memory settings that will be used to support the above background activity. The Administrator will set these values via the "DiskCacheCustomPerformanceSettings" object. |
diskCacheSizeInGB : EInt | Specifies a value for the maximum disk cache size in GB. A value of 0 indicates unlimited size. Valid values are 0 or 3 to MAXINT. |
diskCacheSizeInEntries : EInt | Specifies a value for the maximum disk cache size in number of entries. A value of 0 indicates unlimited size. Valid values are 0 to MAXINT |
diskCacheEntrySizeInMB : EInt | Specifies a value for the maximum size of an individual cache entry in MB. Any cache entry larger than this, when evicted from memory, will not be offloaded to disk. A value of 0 indicates unlimited size. Valid values are 0 to MAXINT |
diskCacheCleanupFrequency : EInt | Specifies a value for the disk cache cleanup frequency in minutes. If this value is set to 0, the cleanup is run only at midnight. This setting applies only when the Disk Offload Performance Level is LOW, BALANCED or CUSTOM. The HIGH performance level will not require disk cleanup at all, and this value will be ignored. Valid values are 0 to 1440 |
cacheReplication : DRSSettings @ | Configure distributed cache replication settings in order to maintain cache consistency across cache instances on different application servers. This object will store replication related settings for a Data Replication Service end point. |
diskCacheCustomPerformanceSettings : DiskCacheCustomPerformanceSettings @ | * No description is available * |
diskCacheEvictionPolicy : DiskCacheEvictionPolicy @ | * No description is available * |
Attribute Details |