|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.jcs.engine.CompositeCacheAttributes
Description of the Class
| Field Summary | |
private java.lang.String |
cacheName
|
protected long |
maxMemoryIdleTimeSeconds
maxMemoryIdleTimeSeconds |
private int |
maxObjs
|
private java.lang.String |
memoryCacheName
|
protected long |
shrinkerIntervalSeconds
shrinkerIntervalSeconds |
private boolean |
useDisk
|
private boolean |
useLateral
|
private boolean |
useMemoryShrinker
|
private boolean |
useRemote
|
| Constructor Summary | |
CompositeCacheAttributes()
Constructor for the CompositeCacheAttributes object |
|
| Method Summary | |
ICompositeCacheAttributes |
copy()
Description of the Method |
java.lang.String |
getCacheName()
Gets the cacheName attribute of the CompositeCacheAttributes object |
long |
getMaxMemoryIdleTimeSeconds()
If UseMemoryShrinker is true the memory cache should auto-expire elements to reclaim space. |
int |
getMaxObjects()
Gets the maxObjects attribute of the CompositeCacheAttributes object |
java.lang.String |
getMemoryCacheName()
Gets the memoryCacheName attribute of the CompositeCacheAttributes object |
long |
getShrinkerIntervalSeconds()
If UseMemoryShrinker is true the memory cache should auto-expire elements to reclaim space. |
boolean |
getUseDisk()
Gets the useDisk attribute of the CompositeCacheAttributes object |
boolean |
getUseLateral()
Gets the useLateral attribute of the CompositeCacheAttributes object |
boolean |
getUseMemoryShrinker()
Whether the memory cache should perform background memory shrinkage. |
boolean |
getUseRemote()
Gets the useRemote attribute of the CompositeCacheAttributes object |
void |
setCacheName(java.lang.String s)
Sets the cacheName attribute of the CompositeCacheAttributes object |
void |
setMaxMemoryIdleTimeSeconds(long seconds)
If UseMemoryShrinker is true the memory cache should auto-expire elements to reclaim space. |
void |
setMaxObjects(int maxObjs)
Sets the maxObjects attribute of the CompositeCacheAttributes object |
void |
setMemoryCacheName(java.lang.String s)
Sets the memoryCacheName attribute of the CompositeCacheAttributes object |
void |
setShrinkerIntervalSeconds(long seconds)
If UseMemoryShrinker is true the memory cache should auto-expire elements to reclaim space. |
void |
setUseDisk(boolean useDisk)
Sets the useDisk attribute of the CompositeCacheAttributes object |
void |
setUseLateral(boolean b)
Sets the useLateral attribute of the CompositeCacheAttributes object |
void |
setUseMemoryShrinker(boolean useShrinker)
Whether the memory cache should perform background memory shrinkage. |
void |
setUseRemote(boolean useRemote)
Sets the useRemote attribute of the CompositeCacheAttributes object |
java.lang.String |
toString()
Description of the Method |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private boolean useLateral
private boolean useRemote
private boolean useDisk
private boolean useMemoryShrinker
private int maxObjs
protected long maxMemoryIdleTimeSeconds
protected long shrinkerIntervalSeconds
private java.lang.String cacheName
private java.lang.String memoryCacheName
| Constructor Detail |
public CompositeCacheAttributes()
| Method Detail |
public void setMaxObjects(int maxObjs)
setMaxObjects in interface ICompositeCacheAttributesmaxObjs - The new maxObjects valuepublic int getMaxObjects()
getMaxObjects in interface ICompositeCacheAttributespublic void setUseDisk(boolean useDisk)
setUseDisk in interface ICompositeCacheAttributesuseDisk - The new useDisk valuepublic boolean getUseDisk()
getUseDisk in interface ICompositeCacheAttributespublic void setUseLateral(boolean b)
setUseLateral in interface ICompositeCacheAttributesb - The new useLateral valuepublic boolean getUseLateral()
getUseLateral in interface ICompositeCacheAttributespublic void setUseRemote(boolean useRemote)
setUseRemote in interface ICompositeCacheAttributesuseRemote - The new useRemote valuepublic boolean getUseRemote()
getUseRemote in interface ICompositeCacheAttributespublic void setCacheName(java.lang.String s)
setCacheName in interface ICompositeCacheAttributess - The new cacheName valuepublic java.lang.String getCacheName()
getCacheName in interface ICompositeCacheAttributespublic void setMemoryCacheName(java.lang.String s)
setMemoryCacheName in interface ICompositeCacheAttributess - The new memoryCacheName valuepublic java.lang.String getMemoryCacheName()
getMemoryCacheName in interface ICompositeCacheAttributespublic void setUseMemoryShrinker(boolean useShrinker)
setUseMemoryShrinker in interface ICompositeCacheAttributesuseShrinker - The new UseMemoryShrinker valuepublic boolean getUseMemoryShrinker()
getUseMemoryShrinker in interface ICompositeCacheAttributespublic void setMaxMemoryIdleTimeSeconds(long seconds)
setMaxMemoryIdleTimeSeconds in interface ICompositeCacheAttributesseconds - The new MaxMemoryIdleTimeSeconds valuepublic long getMaxMemoryIdleTimeSeconds()
getMaxMemoryIdleTimeSeconds in interface ICompositeCacheAttributespublic void setShrinkerIntervalSeconds(long seconds)
setShrinkerIntervalSeconds in interface ICompositeCacheAttributesseconds - The new ShrinkerIntervalSeconds valuepublic long getShrinkerIntervalSeconds()
getShrinkerIntervalSeconds in interface ICompositeCacheAttributespublic ICompositeCacheAttributes copy()
copy in interface ICompositeCacheAttributespublic java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||