public class MethodCacheKey extends Object implements Serializable
Constructor and Description |
---|
MethodCacheKey() |
MethodCacheKey(Serializable instanceOrClass,
String method,
Serializable... arg)
Construct key
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getGroupKey()
Return the group key
|
int |
hashCode() |
void |
init(Serializable instanceOrClass,
String method,
Serializable... arg)
Initialize the key
|
String |
toString() |
public MethodCacheKey()
public MethodCacheKey(Serializable instanceOrClass, String method, Serializable... arg)
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 methodpublic void init(Serializable instanceOrClass, String method, Serializable... arg)
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 methodpublic String getGroupKey()
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.