Package org.apache.torque.manager
Class MethodCacheKey
java.lang.Object
org.apache.torque.manager.MethodCacheKey
- All Implemented Interfaces:
Serializable
The key for the MethodResultCache.
- Version:
- $Id: MethodCacheKey.java 1917245 2024-04-21 14:06:23Z tv $
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMethodCacheKey(Serializable instanceOrClass, String method, Serializable... arg) Construct key -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn the group keyinthashCode()voidinit(Serializable instanceOrClass, String method, Serializable... arg) Initialize the keytoString()
-
Constructor Details
-
MethodCacheKey
public MethodCacheKey() -
MethodCacheKey
Construct key- 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 namearg- optional arguments for the method
-
-
Method Details
-
init
Initialize the key- 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 namearg- optional arguments for the method
-
getGroupKey
Return the group key- Returns:
- the group key
-
equals
-
hashCode
public int hashCode() -
toString
-