com.novell.admin.ns
Class NSObjectCache

java.lang.Object
  |
  +--com.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, com.novell.application.console.snapin.ObjectEntry obj)
          Flushes the cache of a particular NSObject associated with a key.
 NSObject getDetails(java.lang.Object key, com.novell.application.console.snapin.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

getDetails

public NSObject getDetails(java.lang.Object key,
                           com.novell.application.console.snapin.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.

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,
                        com.novell.application.console.snapin.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.


API Documentation Copyright © 1998-2003 Novell, Inc. All rights reserved.
NDS is a registered trademark of Novell, Inc. in the United States and other countries.
Generated December 17 2003 1746.