org.jppf.server.nio.classloader
Class CacheClassKey
java.lang.Object
org.jppf.server.nio.classloader.CacheClassKey
public class CacheClassKey
- extends Object
This class represents the key used in the class cache.
- Author:
- Domingos Creado
|
Constructor Summary |
CacheClassKey(String uuid,
String res)
Initialize this key with a specified provider uuid and resource string. |
CacheClassKey
public CacheClassKey(String uuid,
String res)
- Initialize this key with a specified provider uuid and resource string.
- Parameters:
uuid - the provider uuid.res - string describing the cached resource.
equals
public boolean equals(Object obj)
- Determine whether this key is equal to another one.
- Overrides:
equals in class Object
- Parameters:
obj - the other key to compre with.
- Returns:
- true if the 2 keys a re equal, false otherwise.
- See Also:
Object.equals(java.lang.Object)
hashCode
public int hashCode()
- Calculate the ahsh code of this key.
- Overrides:
hashCode in class Object
- Returns:
- the hashcode as an int value.
- See Also:
Object.hashCode()
toString
public String toString()
-
- Overrides:
toString in class Object
Copyright © 2005-2010 JPPF Team.