org.jppf.server.nio.classloader
Class CacheClassKey

java.lang.Object
  extended by 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.
 
Method Summary
 boolean equals(Object obj)
          Determine whether this key is equal to another one.
 int hashCode()
          Calculate the ahsh code of this key.
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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.
Method Detail

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.