|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.torque.manager.MethodCacheKey
public class MethodCacheKey
Nested Class Summary | |
---|---|
static class |
MethodCacheKey.Factory
|
Constructor Summary | |
---|---|
MethodCacheKey()
|
|
MethodCacheKey(java.io.Serializable[] moreThanThree)
|
|
MethodCacheKey(java.io.Serializable instanceOrClass,
java.lang.String method)
|
|
MethodCacheKey(java.io.Serializable instanceOrClass,
java.lang.String method,
java.io.Serializable arg1)
|
|
MethodCacheKey(java.io.Serializable instanceOrClass,
java.lang.String method,
java.io.Serializable arg1,
java.io.Serializable arg2)
|
|
MethodCacheKey(java.io.Serializable instanceOrClass,
java.lang.String method,
java.io.Serializable arg1,
java.io.Serializable arg2,
java.io.Serializable arg3)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getGroupKey()
|
int |
hashCode()
|
void |
init(java.io.Serializable[] keys)
Initialize key for method with more than three 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. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MethodCacheKey()
public MethodCacheKey(java.io.Serializable instanceOrClass, java.lang.String method)
public MethodCacheKey(java.io.Serializable instanceOrClass, java.lang.String method, java.io.Serializable arg1)
public MethodCacheKey(java.io.Serializable instanceOrClass, java.lang.String method, java.io.Serializable arg1, java.io.Serializable arg2)
public MethodCacheKey(java.io.Serializable instanceOrClass, java.lang.String method, java.io.Serializable arg1, java.io.Serializable arg2, java.io.Serializable arg3)
public MethodCacheKey(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 namepublic 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 nullpublic 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 nullpublic 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 java.lang.String getGroupKey()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |