|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.tigris.scarab.services.cache.ScarabCacheKey
| Constructor Summary | |
ScarabCacheKey()
|
|
ScarabCacheKey(java.io.Serializable[] moreThanThree)
|
|
ScarabCacheKey(java.io.Serializable instanceOrClass,
java.lang.String method)
|
|
ScarabCacheKey(java.io.Serializable instanceOrClass,
java.lang.String method,
java.io.Serializable arg1)
|
|
ScarabCacheKey(java.io.Serializable instanceOrClass,
java.lang.String method,
java.io.Serializable arg1,
java.io.Serializable arg2)
|
|
ScarabCacheKey(java.io.Serializable instanceOrClass,
java.lang.String method,
java.io.Serializable arg1,
java.io.Serializable arg2,
java.io.Serializable arg3)
|
|
| Method Summary | |
void |
dispose()
Disposes the object after use. |
boolean |
equals(java.lang.Object obj)
|
int |
hashCode()
|
void |
init(java.io.Serializable[] keys)
Initialize key for method with more than two arguments. |
void |
init(java.io.Serializable instanceOrClass,
java.lang.String method)
Initialize key for method with no arguments. |
void |
init(java.io.Serializable instanceOrClass,
java.lang.String method,
java.io.Serializable arg1)
Initialize key for method with one argument. |
void |
init(java.io.Serializable instanceOrClass,
java.lang.String method,
java.io.Serializable arg1,
java.io.Serializable arg2)
Initialize key for method with two arguments. |
void |
init(java.io.Serializable instanceOrClass,
java.lang.String method,
java.io.Serializable arg1,
java.io.Serializable arg2,
java.io.Serializable arg3)
Initialize key for method with two arguments. |
boolean |
isDisposed()
Checks whether the object is disposed. |
void |
recycle()
Recycles the object by removing its disposed flag. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ScarabCacheKey()
public ScarabCacheKey(java.io.Serializable instanceOrClass,
java.lang.String method)
public ScarabCacheKey(java.io.Serializable instanceOrClass,
java.lang.String method,
java.io.Serializable arg1)
public ScarabCacheKey(java.io.Serializable instanceOrClass,
java.lang.String method,
java.io.Serializable arg1,
java.io.Serializable arg2)
public ScarabCacheKey(java.io.Serializable instanceOrClass,
java.lang.String method,
java.io.Serializable arg1,
java.io.Serializable arg2,
java.io.Serializable arg3)
public ScarabCacheKey(java.io.Serializable[] moreThanThree)
| Method Detail |
public void init(java.io.Serializable instanceOrClass,
java.lang.String method)
instanceOrClass - the Object on which the method is invoked. if
the method is static, a String representing the class name is used.method - the method name
public void init(java.io.Serializable instanceOrClass,
java.lang.String method,
java.io.Serializable arg1)
instanceOrClass - the Object on which the method is invoked. if
the method is static, a String representing the class name is used.method - the method namearg1 - first method arg, may be null
public void init(java.io.Serializable instanceOrClass,
java.lang.String method,
java.io.Serializable arg1,
java.io.Serializable arg2)
instanceOrClass - the Object on which the method is invoked. if
the method is static, a String representing the class name is used.method - the method namearg1 - first method arg, may be nullarg2 - second method arg, may be null
public void init(java.io.Serializable instanceOrClass,
java.lang.String method,
java.io.Serializable arg1,
java.io.Serializable arg2,
java.io.Serializable arg3)
instanceOrClass - the Object on which the method is invoked. if
the method is static, a String representing the class name is used.method - the method namearg1 - first method arg, may be nullarg2 - second method arg, may be nullpublic void init(java.io.Serializable[] keys)
keys - Serializable[] where
[0]=>the Object on which the method is invoked
if the method is static, a String representing the class name is used.
[1]=>the method name
[n] where n>1 are the method argumentspublic boolean equals(java.lang.Object obj)
public int hashCode()
public void recycle()
recycle in interface org.apache.fulcrum.pool.Recyclablepublic void dispose()
dispose in interface org.apache.fulcrum.pool.Recyclablepublic boolean isDisposed()
isDisposed in interface org.apache.fulcrum.pool.Recyclable
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||