org.apache.torque.manager
Class MethodCacheKey
java.lang.Object
org.apache.torque.manager.MethodCacheKey
- All Implemented Interfaces:
- java.io.Serializable
- public class MethodCacheKey
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
Field Summary |
private java.io.Serializable |
arg1
|
private java.io.Serializable |
arg2
|
private java.io.Serializable |
arg3
|
private java.lang.String |
groupKey
|
private java.io.Serializable |
instanceOrClass
|
private java.lang.String |
method
|
private java.io.Serializable[] |
moreThanThree
|
(package private) int |
n
|
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 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. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
n
int n
instanceOrClass
private java.io.Serializable instanceOrClass
method
private java.lang.String method
arg1
private java.io.Serializable arg1
arg2
private java.io.Serializable arg2
arg3
private java.io.Serializable arg3
moreThanThree
private java.io.Serializable[] moreThanThree
groupKey
private java.lang.String groupKey
MethodCacheKey
public MethodCacheKey()
MethodCacheKey
public MethodCacheKey(java.io.Serializable instanceOrClass,
java.lang.String method)
MethodCacheKey
public MethodCacheKey(java.io.Serializable instanceOrClass,
java.lang.String method,
java.io.Serializable arg1)
MethodCacheKey
public MethodCacheKey(java.io.Serializable instanceOrClass,
java.lang.String method,
java.io.Serializable arg1,
java.io.Serializable arg2)
MethodCacheKey
public MethodCacheKey(java.io.Serializable instanceOrClass,
java.lang.String method,
java.io.Serializable arg1,
java.io.Serializable arg2,
java.io.Serializable arg3)
MethodCacheKey
public MethodCacheKey(java.io.Serializable[] moreThanThree)
init
public void init(java.io.Serializable instanceOrClass,
java.lang.String method)
- Initialize key for method with no arguments.
- Parameters:
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
init
public void init(java.io.Serializable instanceOrClass,
java.lang.String method,
java.io.Serializable arg1)
- Initialize key for method with one argument.
- Parameters:
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
init
public 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.
- Parameters:
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
init
public 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.
- Parameters:
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
init
public void init(java.io.Serializable[] keys)
- Initialize key for method with more than two arguments.
- Parameters:
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 arguments
getGroupKey
public java.lang.String getGroupKey()
equals
public boolean equals(java.lang.Object obj)
hashCode
public int hashCode()
toString
public java.lang.String toString()
Copyright © 1999-2003 Apache Software Foundation. All Rights Reserved.