sofya.base
Class CacheHandle

java.lang.Object
  extended by sofya.base.CacheHandle

public final class CacheHandle
extends java.lang.Object

Handle to a cache directory in the Sofya database.

A cache handle is issued by Handler.newCache(boolean) and is used by other cache-related methods to uniquely identify the cache on which an operation should be performed. The primary purpose of this design is to reduce the probability that different clients will inadvertently operate on the same cache.

Version:
11/29/2004
Author:
Alex Kinneer

Method Summary
 java.lang.String toString()
          Converts this cache handle to a string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

toString

public java.lang.String toString()
Converts this cache handle to a string.

Overrides:
toString in class java.lang.Object
Returns:
A string containing the path to the underlying cache directory.