| java.lang.Object org.apache.torque.manager.MethodCacheKey
MethodCacheKey | public class MethodCacheKey implements Serializable(Code) | | version: $Id: MethodCacheKey.java 474969 2006-11-14 20:41:36Z tv $ |
Inner Class :public static class Factory extends BasePoolableObjectFactory | |
Constructor Summary | |
public | MethodCacheKey() | public | MethodCacheKey(Serializable instanceOrClass, String method) | public | MethodCacheKey(Serializable instanceOrClass, String method, Serializable arg1) | public | MethodCacheKey(Serializable instanceOrClass, String method, Serializable arg1, Serializable arg2) | public | MethodCacheKey(Serializable instanceOrClass, String method, Serializable arg1, Serializable arg2, Serializable arg3) | public | MethodCacheKey(Serializable[] moreThanThree) |
Method Summary | |
public boolean | equals(Object obj) | public String | getGroupKey() | public int | hashCode() | public void | init(Serializable instanceOrClass, String method) Initialize key for method with no arguments.
Parameters: instanceOrClass - the Object on which the method is invoked. | public void | init(Serializable instanceOrClass, String method, Serializable arg1) Initialize key for method with one argument.
Parameters: instanceOrClass - the Object on which the method is invoked. | public void | init(Serializable instanceOrClass, String method, Serializable arg1, Serializable arg2) Initialize key for method with two arguments.
Parameters: instanceOrClass - the Object on which the method is invoked. | public void | init(Serializable instanceOrClass, String method, Serializable arg1, Serializable arg2, Serializable arg3) Initialize key for method with two arguments.
Parameters: instanceOrClass - the Object on which the method is invoked. | public void | init(Serializable[] keys) Initialize key for method with more than three arguments. | public String | toString() |
MethodCacheKey | public MethodCacheKey()(Code) | | |
hashCode | public int hashCode()(Code) | | |
init | public void init(Serializable instanceOrClass, String method)(Code) | | Initialize key for method with no arguments.
Parameters: instanceOrClass - the Object on which the method is invoked. ifthe method is static, a String representing the class name is used. Parameters: method - the method name |
init | public void init(Serializable instanceOrClass, String method, Serializable arg1)(Code) | | Initialize key for method with one argument.
Parameters: instanceOrClass - the Object on which the method is invoked. ifthe method is static, a String representing the class name is used. Parameters: method - the method name Parameters: arg1 - first method arg, may be null |
init | public void init(Serializable instanceOrClass, String method, Serializable arg1, Serializable arg2)(Code) | | Initialize key for method with two arguments.
Parameters: instanceOrClass - the Object on which the method is invoked. ifthe method is static, a String representing the class name is used. Parameters: method - the method name Parameters: arg1 - first method arg, may be null Parameters: arg2 - second method arg, may be null |
init | public void init(Serializable instanceOrClass, String method, Serializable arg1, Serializable arg2, Serializable arg3)(Code) | | Initialize key for method with two arguments.
Parameters: instanceOrClass - the Object on which the method is invoked. ifthe method is static, a String representing the class name is used. Parameters: method - the method name Parameters: arg1 - first method arg, may be null Parameters: arg2 - second method arg, may be null |
init | public void init(Serializable[] keys)(Code) | | Initialize key for method with more than three arguments.
Parameters: keys - Serializable[] where[0]=>the Object on which the method is invokedif the method is static, a String representing the class name is used.[1]=>the method name[n] where n>1 are the method arguments |
|
|