|
||||||||||
| 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 java.lang.String |
cacheName
cacheName |
protected java.lang.String |
eventQueuePoolName
Named when pooled |
protected int |
eventQueueType
eventQueueType -- pooled or single threaded |
protected java.lang.String |
name
name |
| Fields inherited from interface org.apache.jcs.auxiliary.AuxiliaryCacheAttributes |
|---|
POOLED_QUEUE_TYPE, SINGLE_QUEUE_TYPE |
| Constructor Summary | |
|---|---|
AbstractAuxiliaryCacheAttributes()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getCacheName()
Gets the cacheName attribute of the AuxiliaryCacheAttributes object |
java.lang.String |
getEventQueuePoolName()
Sets the pool name to use. |
java.lang.String |
getEventQueueType()
|
int |
getEventQueueTypeFactoryCode()
Returns the value used by the factory. |
java.lang.String |
getName()
Gets the name attribute of the AuxiliaryCacheAttributes object |
void |
setCacheName(java.lang.String s)
Sets the name of the cache, referenced by the appropriate manager. |
void |
setEventQueuePoolName(java.lang.String s)
If you choose a POOLED event queue type, the value of EventQueuePoolName will be used. |
void |
setEventQueueType(java.lang.String s)
SINGLE is the default. |
void |
setName(java.lang.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 java.lang.String cacheName
protected java.lang.String name
protected int eventQueueType
protected java.lang.String eventQueuePoolName
| Constructor Detail |
|---|
public AbstractAuxiliaryCacheAttributes()
| Method Detail |
|---|
public void setCacheName(java.lang.String s)
AuxiliaryCacheAttributes
setCacheName in interface AuxiliaryCacheAttributess - The new cacheName valuepublic java.lang.String getCacheName()
AuxiliaryCacheAttributes
getCacheName in interface AuxiliaryCacheAttributespublic void setName(java.lang.String s)
setName in interface AuxiliaryCacheAttributess - The new name valueAuxiliaryCacheAttributes.setName(java.lang.String)public java.lang.String getName()
AuxiliaryCacheAttributes
getName in interface AuxiliaryCacheAttributespublic void setEventQueueType(java.lang.String s)
AuxiliaryCacheAttributes
setEventQueueType in interface AuxiliaryCacheAttributess - SINGLE or POOLEDpublic java.lang.String getEventQueueType()
getEventQueueType in interface AuxiliaryCacheAttributespublic int getEventQueueTypeFactoryCode()
AuxiliaryCacheAttributes
getEventQueueTypeFactoryCode in interface AuxiliaryCacheAttributespublic void setEventQueuePoolName(java.lang.String s)
AuxiliaryCacheAttributes
setEventQueuePoolName in interface AuxiliaryCacheAttributess - SINGLE or POOLEDpublic java.lang.String getEventQueuePoolName()
AuxiliaryCacheAttributes
getEventQueuePoolName in interface AuxiliaryCacheAttributes
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||