blackboard.persist
Class CacheKey

java.lang.Object
  extended by blackboard.persist.CacheKey

public class CacheKey
extends java.lang.Object

The CacheKey represents a reference to an item stored in the cache.

Since:
Bb 6.0
Version:
$Revision: #1 $ $Date: 2005/06/27 $

Constructor Summary
CacheKey(java.lang.String loaderName, java.lang.String methodName)
           
 
Method Summary
 void addParameter(java.lang.Object obj)
          Adds the given parameter to the list for this cache key.
 boolean equals(java.lang.Object obj)
           
 java.lang.String getHashKey()
           
 java.lang.String getLoaderName()
          Returns the loader name for this cache key.
 java.lang.String getMethodName()
          Returns the method name for this cache key.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheKey

public CacheKey(java.lang.String loaderName,
                java.lang.String methodName)
Method Detail

addParameter

public void addParameter(java.lang.Object obj)
Adds the given parameter to the list for this cache key. Should be added in the same order as the method signature.


getLoaderName

public java.lang.String getLoaderName()
Returns the loader name for this cache key.

Returns:
String the loader name for this cache key.

getMethodName

public java.lang.String getMethodName()
Returns the method name for this cache key.

Returns:
String the method name for this cache key.

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getHashKey

public java.lang.String getHashKey()

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2003 Blackboard, Inc. All Rights Reserved.