public class CacheUniqueKey extends Object implements Serializable, Comparable<CacheUniqueKey>
| Constructor and Description | 
|---|
CacheUniqueKey(String className,
              String[] fieldNames,
              Object[] fieldValues)
Constructor for a unique cache key. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
compareTo(CacheUniqueKey o)  | 
boolean | 
equals(CacheUniqueKey other)  | 
boolean | 
equals(Object other)  | 
int | 
hashCode()  | 
String | 
toString()  | 
public CacheUniqueKey(String className, String[] fieldNames, Object[] fieldValues)
className - Name of the class of the persistable objectfieldNames - Names of the fields used to form the unique keyfieldValues - Values of the fields used to form the unique keypublic int compareTo(CacheUniqueKey o)
compareTo in interface Comparable<CacheUniqueKey>public boolean equals(CacheUniqueKey other)
Copyright © 2020. All rights reserved.