com.novell.admin.ns
Class NSObjectCache

java.lang.Object
  extended bycom.novell.admin.ns.NSObjectCache

public final class NSObjectCache
extends java.lang.Object

This class caches NSObjects.


Constructor Summary
NSObjectCache()
           
 
Method Summary
 void freeDetails(java.lang.Object key)
          Flushes the cache of NSObjects associated with the key.
 void freeDetails(java.lang.Object key, ObjectEntry obj)
          Flushes the cache of a particular NSObject associated with a key.
 NSObject getDetails(java.lang.Object key, ObjectEntry obj)
          Retrieves the cached NSObject for a given key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NSObjectCache

public NSObjectCache()
Method Detail

freeDetails

public void freeDetails(java.lang.Object key)
Flushes the cache of NSObjects associated with the key.

Parameters:
key - The key.

freeDetails

public void freeDetails(java.lang.Object key,
                        ObjectEntry obj)
Flushes the cache of a particular NSObject associated with a key.

Parameters:
key - The key.
obj - The ObjectEntry associated with a particular NSObject.

getDetails

public NSObject getDetails(java.lang.Object key,
                           ObjectEntry obj)
Retrieves the cached NSObject for a given key.

Parameters:
obj - The ObjectEntry object to get details for.
key - The key into the hash table where the NSObject is stored.
Returns:
NSObject which contains details on the namespace object or null if not found.


API Documentation Copyright © 1998-2004 Novell, Inc. All rights reserved.
NDS is a registered trademark of Novell, Inc. in the United States and other countries.
Generated September 2 2004 0111.