|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jcs.auxiliary.AbstractAuxiliaryCacheAttributes
public abstract class AbstractAuxiliaryCacheAttributes
This has common attributes used by all auxiliaries.
Field Summary | |
---|---|
protected String |
cacheName
cacheName |
protected String |
eventQueuePoolName
Named when pooled |
protected String |
eventQueueType
eventQueueType -- custom classname, pooled, or single threaded |
protected String |
name
name |
Fields inherited from interface org.apache.jcs.auxiliary.AuxiliaryCacheAttributes |
---|
POOLED_QUEUE_TYPE, SINGLE_QUEUE_TYPE |
Constructor Summary | |
---|---|
AbstractAuxiliaryCacheAttributes()
|
Method Summary | |
---|---|
String |
getCacheName()
Gets the cacheName attribute of the AuxiliaryCacheAttributes object |
String |
getEventQueuePoolName()
Sets the pool name to use. |
String |
getEventQueueType()
|
String |
getName()
Gets the name attribute of the AuxiliaryCacheAttributes object |
void |
setCacheName(String name)
Sets the name of the cache, referenced by the appropriate manager. |
void |
setEventQueuePoolName(String s)
If you choose a POOLED event queue type, the value of EventQueuePoolName will be used. |
void |
setEventQueueType(String queueType)
SINGLE is the default. |
void |
setName(String s)
This is the name of the auxiliary in configuration file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.jcs.auxiliary.AuxiliaryCacheAttributes |
---|
copy |
Field Detail |
---|
protected String cacheName
protected String name
protected String eventQueueType
protected String eventQueuePoolName
Constructor Detail |
---|
public AbstractAuxiliaryCacheAttributes()
Method Detail |
---|
public void setCacheName(String name)
AuxiliaryCacheAttributes
setCacheName
in interface AuxiliaryCacheAttributes
name
- public String getCacheName()
getCacheName
in interface AuxiliaryCacheAttributes
public void setName(String s)
setName
in interface AuxiliaryCacheAttributes
s
- The new name valueAuxiliaryCacheAttributes.setName(java.lang.String)
public String getName()
getName
in interface AuxiliaryCacheAttributes
public void setEventQueueType(String queueType)
setEventQueueType
in interface AuxiliaryCacheAttributes
queueType
- SINGLE or POOLED or a classnamepublic String getEventQueueType()
getEventQueueType
in interface AuxiliaryCacheAttributes
public void setEventQueuePoolName(String s)
setEventQueuePoolName
in interface AuxiliaryCacheAttributes
s
- SINGLE or POOLEDpublic String getEventQueuePoolName()
getEventQueuePoolName
in interface AuxiliaryCacheAttributes
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |