############################################################## ################## DEFAULT CACHE REGION ##################### # sets the default aux value for any non configured caches jcs.default=DC,RFailover jcs.default.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes jcs.default.cacheattributes.MaxObjects=1000 jcs.default.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache jcs.default.cacheattributes.UseMemoryShrinker=true jcs.default.cacheattributes.MaxMemoryIdleTimeSeconds=3600 jcs.default.cacheattributes.ShrinkerIntervalSeconds=60 jcs.default.cacheattributes.ShrinkerIntervalSeconds=60 jcs.default.elementattributes=org.apache.jcs.engine.ElementAttributes jcs.default.elementattributes.IsEternal=false jcs.default.elementattributes.MaxLifeSeconds=3600 jcs.default.elementattributes.IdleTime=1800 jcs.default.elementattributes.IsSpool=true jcs.default.elementattributes.IsRemote=true jcs.default.elementattributes.IsLateral=true # SYSTEM CACHE # should be defined for the storage of group attribute list jcs.system.groupIdCache=DC,RFailover jcs.system.groupIdCache.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes jcs.system.groupIdCache.cacheattributes.MaxObjects=10000 jcs.system.groupIdCache.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache jcs.system.groupIdCache.elementattributes=org.apache.jcs.engine.ElementAttributes jcs.system.groupIdCache.elementattributes.IsEternal=true jcs.system.groupIdCache.elementattributes.MaxLifeSeconds=3600 jcs.system.groupIdCache.elementattributes.IdleTime=1800 jcs.system.groupIdCache.elementattributes.IsSpool=true jcs.system.groupIdCache.elementattributes.IsRemote=true jcs.system.groupIdCache.elementattributes.IsLateral=true ############################################################## ################## CACHE REGIONS AVAILABLE ################### # Regions preconfirgured for caching jcs.region.testCache1=DC,RFailover jcs.region.testCache1.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes jcs.region.testCache1.cacheattributes.MaxObjects=1000 jcs.region.testCache1.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache jcs.region.testCache1.cacheattributes.UseMemoryShrinker=true jcs.region.testCache1.cacheattributes.MaxMemoryIdleTimeSeconds=3600 jcs.region.testCache1.cacheattributes.ShrinkerIntervalSeconds=60 jcs.region.testCache2=DC,LTCP jcs.region.testCache2.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes jcs.region.testCache2.cacheattributes.MaxObjects=1000 jcs.region.testCache2.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache jcs.region.testCache2.cacheattributes.UseMemoryShrinker=true jcs.region.testCache2.cacheattributes.MaxMemoryIdleTimeSeconds=3600 jcs.region.testCache2.cacheattributes.ShrinkerIntervalSeconds=60 jcs.region.testCache2.elementattributes=org.apache.jcs.engine.ElementAttributes jcs.region.testCache2.elementattributes.IsEternal=false jcs.region.testCache2.elementattributes.MaxLifeSeconds=60 jcs.region.testCache2.elementattributes.IsSpool=true jcs.region.testCache2.elementattributes.IsRemote=true jcs.region.testCache2.elementattributes.IsLateral=true jcs.region.testCache3=DC jcs.region.testCache3.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes jcs.region.testCache3.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.shrinking.ShrinkingMemoryCache jcs.region.testCache3.cacheattributes.UseMemoryShrinker=true jcs.region.testCache3.cacheattributes.MaxMemoryIdleTimeSeconds=3600 jcs.region.testCache3.cacheattributes.ShrinkerIntervalSeconds=60 jcs.region.testCache4=DC,LJG jcs.region.testCache4.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes jcs.region.testCache4.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.shrinking.ShrinkingMemoryCache jcs.region.testCache4.cacheattributes.UseMemoryShrinker=true jcs.region.testCache4.cacheattributes.MaxMemoryIdleTimeSeconds=3600 jcs.region.testCache4.cacheattributes.ShrinkerIntervalSeconds=60 jcs.region.testCache4.elementattributes=org.apache.jcs.engine.ElementAttributes jcs.region.testCache4.elementattributes.IsEternal=false jcs.region.testCache4.elementattributes.MaxLifeSeconds=60 jcs.region.testCache4.elementattributes.IsSpool=true jcs.region.testCache4.elementattributes.IsRemote=true jcs.region.testCache4.elementattributes.IsLateral=true # prefered config jcs.region.test2=DC,RFailover jcs.region.test2.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes jcs.region.test2.cacheattributes.MaxObjects=1000 jcs.region.test2.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache ############################################################## ################## AUXILIARY CACHES AVAILABLE ################ # Remote RMI cache without failover jcs.auxiliary.RGroup=org.apache.jcs.auxiliary.remote.RemoteCacheFactory jcs.auxiliary.RGroup.attributes=org.apache.jcs.auxiliary.remote.RemoteCacheAttributes jcs.auxiliary.RGroup.attributes.RemoteTypeName=LOCAL jcs.auxiliary.RGroup.attributes.RemoteHost=localhost jcs.auxiliary.RGroup.attributes.RemotePort=1102 jcs.auxiliary.RGroup.attributes.GetOnly=true # Remote RMI Cache set up to failover jcs.auxiliary.RFailover=org.apache.jcs.auxiliary.remote.RemoteCacheFactory jcs.auxiliary.RFailover.attributes=org.apache.jcs.auxiliary.remote.RemoteCacheAttributes jcs.auxiliary.RFailover.attributes.RemoteTypeName=LOCAL jcs.auxiliary.RFailover.attributes.FailoverServers=localhost:1102 jcs.auxiliary.RFailover.attributes.GetOnly=false # Primary Disk Cache-- faster than the rest because of memory key storage jcs.auxiliary.DC=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheFactory jcs.auxiliary.DC.attributes=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheAttributes jcs.auxiliary.DC.attributes.DiskPath=@project_home_f@raf # HSQL Disk Cache -- too slow as is jcs.auxiliary.HDC=org.apache.jcs.auxiliary.disk.hsql.HSQLCacheFactory jcs.auxiliary.HDC.attributes=org.apache.jcs.auxiliary.disk.hsql.HSQLCacheAttributes jcs.auxiliary.HDC.attributes.DiskPath=@project_home_f@hsql # JISP Disk Cache -- save memory with disk key storage jcs.auxiliary.JDC=org.apache.jcs.auxiliary.disk.jisp.JISPCacheFactory jcs.auxiliary.JDC.attributes=org.apache.jcs.auxiliary.disk.jisp.JISPCacheAttributes jcs.auxiliary.JDC.attributes.DiskPath=@project_home_f@raf jcs.auxiliary.JDC.attributes.ClearOnStart=false # need to make put or invalidate an option # just a remove lock to add jcs.auxiliary.RC=org.apache.jcs.auxiliary.remote.RemoteCacheFactory jcs.auxiliary.RC.attributes=org.apache.jcs.auxiliary.remote.RemoteCacheAttributes jcs.auxiliary.RC.attributes.RemoteHost=localhost jcs.auxiliary.RC.attributes.RemotePort=1102 #jcs.auxiliary.RC.attributes.LocalPort=1103 jcs.auxiliary.RC.attributes.RemoveUponRemotePut=false #jcs.auxiliary.RC.attributes.RemoteServiceName=RemoteCache # unreliable jcs.auxiliary.LUDP=org.apache.jcs.auxiliary.lateral.LateralCacheFactory jcs.auxiliary.LUDP.attributes=org.apache.jcs.auxiliary.lateral.LateralCacheAttributes jcs.auxiliary.LUDP.attributes.TransmissionTypeName=UDP jcs.auxiliary.LUDP.attributes.UdpMulticastAddr=228.5.6.7 jcs.auxiliary.LUDP.attributes.UdpMulticastPort=6789 jcs.auxiliary.LJG=org.apache.jcs.auxiliary.lateral.LateralCacheFactory jcs.auxiliary.LJG.attributes=org.apache.jcs.auxiliary.lateral.LateralCacheAttributes jcs.auxiliary.LJG.attributes.TransmissionTypeName=JAVAGROUPS jcs.auxiliary.LJG.attributes.UdpMulticastAddr=228.5.6.7 jcs.auxiliary.LJG.attributes.UdpMulticastPort=6789 jcs.auxiliary.LJG.attributes.PutOnlyMode=false # almost complete jcs.auxiliary.LTCP=org.apache.jcs.auxiliary.lateral.LateralCacheFactory jcs.auxiliary.LTCP.attributes=org.apache.jcs.auxiliary.lateral.LateralCacheAttributes jcs.auxiliary.LTCP.attributes.TransmissionTypeName=TCP jcs.auxiliary.LTCP.attributes.TcpServers=localhost:1111 jcs.auxiliary.LTCP.attributes.TcpListenerPort=1110 jcs.auxiliary.LTCP.attributes.PutOnlyMode=false jcs.auxiliary.LTCP2=org.apache.jcs.auxiliary.lateral.LateralCacheFactory jcs.auxiliary.LTCP2.attributes=org.apache.jcs.auxiliary.lateral.LateralCacheAttributes jcs.auxiliary.LTCP2.attributes.TransmissionTypeName=TCP jcs.auxiliary.LTCP2.attributes.TcpServers=localhost:1111,localhost2:1112 jcs.auxiliary.LTCP2.attributes.TcpListenerPort=1111 jcs.auxiliary.LTCP2.attributes.PutOnlyMode=true jcs.auxiliary.XMLRPC=org.apache.jcs.auxiliary.lateral.LateralCacheFactory jcs.auxiliary.XMLRPC.attributes=org.apache.jcs.auxiliary.lateral.LateralCacheAttributes jcs.auxiliary.XMLRPC.attributes.TransmissionTypeName=XMLRPC jcs.auxiliary.XMLRPC.attributes.HttpServers=localhost:8182 jcs.auxiliary.XMLRPC.attributes.HttpListenerPort=8181 jcs.auxiliary.XMLRPC.attributes.PutOnlyMode=false # example of how to configure the http version of the lateral cache # not converteed to new cache jcs.auxiliary.LCHTTP=org.apache.jcs.auxiliary.lateral.LateralCacheFactory jcs.auxiliary.LCHTTP.attributes=org.apache.jcs.auxiliary.lateral.LateralCacheAttributes jcs.auxiliary.LCHTTP.attributes.TransmissionType=HTTP jcs.auxiliary.LCHTTP.attributes.httpServers=localhost:8080,localhost:7001,localhost:80 jcs.auxiliary.LCHTTP.attributes.httpReceiveServlet=/cache/LateralCacheReceiverServlet jcs.auxiliary.LCHTTP.attributes.httpDeleteServlet=/cache/DeleteCacheServlet