IBM User Guide for Java V7 on Windows > Troubleshooting and support > Using diagnostic tools > Shared classes diagnostic data > Using the Java Helper API



Obtaining information about shared caches

Use these APIs to obtain information about shared caches.

com.ibm.oti.shared.SharedClassStatistics

The SharedClassStatistics class provides static utilities that return the total cache size and the amount of free bytes in the active cache.

com.ibm.oti.shared.SharedClassUtilities

You can use these APIs to get information about shared class caches in a directory, and to remove specified shared class caches. The type of information available for each cache includes:

  • The cache name.
  • The cache size.
  • The amount of free space in the cache.
  • An indication of compatibility with the current JVM.
  • Information about the type of cache; persistent or non-persistent.
  • The last detach time.
  • The Java™ version that created the cache.
  • Whether the cache is for a 32-bit or 64-bit JVM.
  • Whether the cache is corrupted.

com.ibm.oti.shared.SharedClassCacheInfo

This class is used by com.ibm.oti.shared.SharedClassUtilities to store information about a shared class cache and provides API methods to retrieve that information.

For information about the IBM JVMTI extensions for shared class caches, see Finding shared class caches, and Removing a shared class cache.


Parent: Using the Java Helper API








Error 404 - Not Found

Error 404 - Not Found

The document you are looking for may have been removed or re-named. Please contact the web site owner for further assistance.