Index

A

acceptFind(String) - Method in interface com.ibm.oti.shared.SharedClassFilter
Tests if the helper should try to find a specified class in the shared class cache
acceptStore(String) - Method in interface com.ibm.oti.shared.SharedClassFilter
Tests if a specified class should be stored in the shared class cache
add(Permission) - Method in class com.ibm.oti.shared.SharedClassPermissionCollection
Add a permission to this collection
addClasspathEntry(URL) - Method in interface com.ibm.oti.shared.SharedClassURLClasspathHelper
Update the helper's classpath by appending a URL (see Usage).
addClasspathEntry(URL) - Method in class com.ibm.oti.shared.SharedClassURLClasspathHelperImpl
ADDRESS_MODE_32 - Static variable in class com.ibm.oti.shared.SharedClassCacheInfo
Specifies a 32-bit cache.
ADDRESS_MODE_64 - Static variable in class com.ibm.oti.shared.SharedClassCacheInfo
Specifies a 64-bit cache.

C

CannotSetClasspathException - Exception in com.ibm.oti.shared
Exception thrown if an attempt is made to modify confirmed elements of a classpath in SharedClassURLClasspathHelper.
CannotSetClasspathException(String) - Constructor for exception com.ibm.oti.shared.CannotSetClasspathException
Create a new CannotSetClasspathException
com.ibm.oti.shared - package com.ibm.oti.shared
confirmAllEntries() - Method in interface com.ibm.oti.shared.SharedClassURLClasspathHelper
Confirms all entries in the current classpath.
confirmAllEntries() - Method in class com.ibm.oti.shared.SharedClassURLClasspathHelperImpl

D

DESTROY_FAILED_CURRENT_GEN_CACHE - Static variable in class com.ibm.oti.shared.SharedClassUtilities
Returned by SharedClassUtilities.destroySharedCache(java.lang.String, int, java.lang.String, boolean) to indicate the method has failed to destroy the current generation cache.
DESTROY_FAILED_OLDER_GEN_CACHE - Static variable in class com.ibm.oti.shared.SharedClassUtilities
Returned by SharedClassUtilities.destroySharedCache(java.lang.String, int, java.lang.String, boolean) to indicate the method has failed to destroy one or more older generation cache, and either a current generation cache does not exist or is successfully destroyed.
DESTROYED_ALL_CACHE - Static variable in class com.ibm.oti.shared.SharedClassUtilities
Returned by SharedClassUtilities.destroySharedCache(java.lang.String, int, java.lang.String, boolean) to indicate either no cache exists or the method has successfully destroyed caches of all generations.
DESTROYED_NONE - Static variable in class com.ibm.oti.shared.SharedClassUtilities
Returned by SharedClassUtilities.destroySharedCache(java.lang.String, int, java.lang.String, boolean) to indicate the method failed to destroy any cache.
destroySharedCache(String, int, String, boolean) - Static method in class com.ibm.oti.shared.SharedClassUtilities
Destroy a named shared class cache of a given type in a given directory.

E

elements() - Method in class com.ibm.oti.shared.SharedClassPermissionCollection
Return permissions as an enumeration
equals(Object) - Method in class com.ibm.oti.shared.SharedClassPermission
Compares the argument to the receiver, and answers true if they represent the same object using a class specific comparison.

F

findHelperForClassLoader(ClassLoader) - Method in interface com.ibm.oti.shared.SharedClassHelperFactory
Utility function which returns a SharedClassHelper for a given ClassLoader.
findHelperForClassLoader(ClassLoader) - Method in class com.ibm.oti.shared.SharedClassHelperFactoryImpl
findSharedClass(String, String) - Method in interface com.ibm.oti.shared.SharedClassTokenHelper
Find a class in the shared cache using a specific token and class name.
findSharedClass(String, String) - Method in class com.ibm.oti.shared.SharedClassTokenHelperImpl
findSharedClass(String, SharedClassURLClasspathHelper.IndexHolder) - Method in interface com.ibm.oti.shared.SharedClassURLClasspathHelper
Find a class in the shared cache using the class name given (implicitly using the caller's classpath).
findSharedClass(String, String, SharedClassURLClasspathHelper.IndexHolder) - Method in interface com.ibm.oti.shared.SharedClassURLClasspathHelper
Find a class in the shared cache using the class name and partition given (implicitly using the caller's classpath).
findSharedClass(String, SharedClassURLClasspathHelper.IndexHolder) - Method in class com.ibm.oti.shared.SharedClassURLClasspathHelperImpl
findSharedClass(String, String, SharedClassURLClasspathHelper.IndexHolder) - Method in class com.ibm.oti.shared.SharedClassURLClasspathHelperImpl
findSharedClass(URL, String) - Method in interface com.ibm.oti.shared.SharedClassURLHelper
Find a class in the shared cache using a specific URL and class name.
findSharedClass(String, URL, String) - Method in interface com.ibm.oti.shared.SharedClassURLHelper
Find a class in the shared cache using a specific URL, class name and user-defined partition (see Partitions).
findSharedClass(URL, String) - Method in class com.ibm.oti.shared.SharedClassURLHelperImpl
findSharedClass(String, URL, String) - Method in class com.ibm.oti.shared.SharedClassURLHelperImpl
freeSpaceBytes() - Static method in class com.ibm.oti.shared.SharedClassStatistics
Returns the free space in bytes of the cache that the JVM is currently connected to

G

getActions() - Method in class com.ibm.oti.shared.SharedClassPermission
Answers the actions associated with the receiver.
getCacheAddressMode() - Method in class com.ibm.oti.shared.SharedClassCacheInfo
Get the address mode for the shared class cache.
getCacheFreeBytes() - Method in class com.ibm.oti.shared.SharedClassCacheInfo
Get the amount of free bytes in shared class cache.
getCacheJVMLevel() - Method in class com.ibm.oti.shared.SharedClassCacheInfo
Get the JVM level for the shared class cache.
getCacheName() - Method in class com.ibm.oti.shared.SharedClassCacheInfo
Gets the cache name for the shared class cache.
getCacheSize() - Method in class com.ibm.oti.shared.SharedClassCacheInfo
Get total usable shared class cache size.
getClassLoader() - Method in class com.ibm.oti.shared.SharedAbstractHelper
Utility function.
getClassLoader() - Method in interface com.ibm.oti.shared.SharedHelper
Returns the ClassLoader that this SharedHelper belongs to
getLastDetach() - Method in class com.ibm.oti.shared.SharedClassCacheInfo
Get the time when the shared class cache was last detached.
getOSsemid() - Method in class com.ibm.oti.shared.SharedClassCacheInfo
Get the OS semaphore id associated with the shared class cache.
getOSshmid() - Method in class com.ibm.oti.shared.SharedClassCacheInfo
Get the OS shared memory id associated with the shared class cache.
getSharedCacheInfo(String, int, boolean) - Static method in class com.ibm.oti.shared.SharedClassUtilities
Iterate through all shared class caches present in the given directory and return their information in a List.
getSharedClassHelperFactory() - Static method in class com.ibm.oti.shared.Shared
If sharing is enabled returns a SharedClassHelperFactory, otherwise returns null.
getSharingFilter() - Method in class com.ibm.oti.shared.SharedClassAbstractHelper
Return the sharedClassFilter associated with this helper.
getSharingFilter() - Method in interface com.ibm.oti.shared.SharedClassHelper
Return the sharing filter associated with this helper.
getTokenHelper(ClassLoader) - Method in interface com.ibm.oti.shared.SharedClassHelperFactory
Return a SharedClassTokenHelper for a given ClassLoader.
getTokenHelper(ClassLoader, SharedClassFilter) - Method in interface com.ibm.oti.shared.SharedClassHelperFactory
Return a SharedClassTokenHelper for a given ClassLoader.
getTokenHelper(ClassLoader, SharedClassFilter) - Method in class com.ibm.oti.shared.SharedClassHelperFactoryImpl
getTokenHelper(ClassLoader) - Method in class com.ibm.oti.shared.SharedClassHelperFactoryImpl
getURLClasspathHelper(ClassLoader, URL[]) - Method in interface com.ibm.oti.shared.SharedClassHelperFactory
Return a SharedClassURLClasspathHelper for a given ClassLoader.
getURLClasspathHelper(ClassLoader, URL[], SharedClassFilter) - Method in interface com.ibm.oti.shared.SharedClassHelperFactory
Return a SharedClassURLClasspathHelper for a given ClassLoader.
getURLClasspathHelper(ClassLoader, URL[], SharedClassFilter) - Method in class com.ibm.oti.shared.SharedClassHelperFactoryImpl
getURLClasspathHelper(ClassLoader, URL[]) - Method in class com.ibm.oti.shared.SharedClassHelperFactoryImpl
getURLHelper(ClassLoader) - Method in interface com.ibm.oti.shared.SharedClassHelperFactory
Return a SharedClassURLHelper for a given ClassLoader.
getURLHelper(ClassLoader, SharedClassFilter) - Method in interface com.ibm.oti.shared.SharedClassHelperFactory
Return a SharedClassURLHelper for a given ClassLoader.
getURLHelper(ClassLoader, SharedClassFilter) - Method in class com.ibm.oti.shared.SharedClassHelperFactoryImpl
getURLHelper(ClassLoader) - Method in class com.ibm.oti.shared.SharedClassHelperFactoryImpl

H

hashCode() - Method in class com.ibm.oti.shared.SharedClassPermission
Answers an integer hash code for the receiver.
HelperAlreadyDefinedException - Exception in com.ibm.oti.shared
Exception thrown if factory is asked to get multiple helpers for a ClassLoader.
HelperAlreadyDefinedException(String) - Constructor for exception com.ibm.oti.shared.HelperAlreadyDefinedException
Create a new HelperAlreadyDefinedException

I

implies(Permission) - Method in class com.ibm.oti.shared.SharedClassPermission
Indicates whether the argument permission is implied by the receiver.
implies(Permission) - Method in class com.ibm.oti.shared.SharedClassPermissionCollection
Returns true if the permission given is implied by any of the permissions in the collection
isCacheCompatible() - Method in class com.ibm.oti.shared.SharedClassCacheInfo
Check the compatibility of the shared class cache with this JVM.
isCacheCorrupt() - Method in class com.ibm.oti.shared.SharedClassCacheInfo
Check if the shared class cache is corrupt.
isCachePersistent() - Method in class com.ibm.oti.shared.SharedClassCacheInfo
Check if the shared class cache is persistent.
isSharedClassCookie(byte[]) - Method in class com.ibm.oti.shared.SharedClassAbstractHelper
Utility function.
isSharingEnabled() - Static method in class com.ibm.oti.shared.Shared
Returns true if sharing is enabled for this JVM (using -Xshareclasses on the command-line)

J

JVMLEVEL_JAVA5 - Static variable in class com.ibm.oti.shared.SharedClassCacheInfo
Specifies Java 5 cache.
JVMLEVEL_JAVA6 - Static variable in class com.ibm.oti.shared.SharedClassCacheInfo
Specifies Java 6 cache.
JVMLEVEL_JAVA7 - Static variable in class com.ibm.oti.shared.SharedClassCacheInfo
Specifies Java 7 cache.

M

maxSizeBytes() - Static method in class com.ibm.oti.shared.SharedClassStatistics
Returns the total size in bytes of the cache that the JVM is currently connected to
MINIMIZE_ENABLED - Static variable in class com.ibm.oti.shared.SharedClassURLHelperImpl

N

newPermissionCollection() - Method in class com.ibm.oti.shared.SharedClassPermission
Answers a new PermissionCollection for holding permissions of this class.
NO_FLAGS - Static variable in class com.ibm.oti.shared.SharedClassUtilities
Value to be passed to flags parameter of SharedClassUtilities.getSharedCacheInfo(java.lang.String, int, boolean) method.
NONPERSISTENT - Static variable in class com.ibm.oti.shared.SharedClassUtilities
Specifies a non-persistent cache.

P

PERSISTENCE_DEFAULT - Static variable in class com.ibm.oti.shared.SharedClassUtilities
Use the platform dependent default value as the cache type.
PERSISTENT - Static variable in class com.ibm.oti.shared.SharedClassUtilities
Specifies a persistent cache.

S

setClasspath(URL[]) - Method in interface com.ibm.oti.shared.SharedClassURLClasspathHelper
Update the helper's classpath with a new classpath.
setClasspath(URL[]) - Method in class com.ibm.oti.shared.SharedClassURLClasspathHelperImpl
setIndex(int) - Method in interface com.ibm.oti.shared.SharedClassURLClasspathHelper.IndexHolder
setMinimizeUpdateChecks() - Method in interface com.ibm.oti.shared.SharedClassURLHelper
Minimize update checking on jar files for optimal performance
setMinimizeUpdateChecks() - Method in class com.ibm.oti.shared.SharedClassURLHelperImpl
setSharingFilter(SharedClassFilter) - Method in class com.ibm.oti.shared.SharedClassAbstractHelper
Set the sharedClassFilter for a helper instance.
setSharingFilter(SharedClassFilter) - Method in interface com.ibm.oti.shared.SharedClassHelper
Applies the sharing filter to the SharedClassHelper.
Shared - Class in com.ibm.oti.shared
Global class which provides SharedClassHelperFactory and sharing status.
Shared() - Constructor for class com.ibm.oti.shared.Shared
SharedAbstractHelper - Class in com.ibm.oti.shared
Abstract SharedHelper provides common functions and data to helper subclasses.
SharedAbstractHelper() - Constructor for class com.ibm.oti.shared.SharedAbstractHelper
SharedAbstractHelperFactory - Class in com.ibm.oti.shared
Abstract SharedHelper factory provides common functions and data to factory subclasses.
SharedAbstractHelperFactory() - Constructor for class com.ibm.oti.shared.SharedAbstractHelperFactory
SharedClassAbstractHelper - Class in com.ibm.oti.shared
Abstract SharedClassHelper provides common functions and data to class helper subclasses.
SharedClassAbstractHelper() - Constructor for class com.ibm.oti.shared.SharedClassAbstractHelper
SharedClassCacheInfo - Class in com.ibm.oti.shared
SharedClassCacheInfo stores information about a shared class cache and provides methods to retrieve that information.
SharedClassFilter - Interface in com.ibm.oti.shared
Interface which allows users of a Helper API to filter which classes are found and stored in the cache The user should provide a class which implements the interface in which the functions return true or false and then pass an instance of this class to setSharingFilter() in a shared class helper.
SharedClassHelper - Interface in com.ibm.oti.shared
SharedClassHelper super-interface defines functions common to all class helpers.
SharedClassHelperFactory - Interface in com.ibm.oti.shared
SharedClassHelperFactory provides an interface used to create various types of SharedClassHelper for ClassLoaders.
SharedClassHelperFactoryImpl - Class in com.ibm.oti.shared
Implementation of SharedClassHelperFactory.
SharedClassHelperFactoryImpl() - Constructor for class com.ibm.oti.shared.SharedClassHelperFactoryImpl
SharedClassPermission - Class in com.ibm.oti.shared
Security permission to govern classloader access to the shared class cache.
SharedClassPermission(ClassLoader, String) - Constructor for class com.ibm.oti.shared.SharedClassPermission
Constructs a new instance of this class.
SharedClassPermission(String, String) - Constructor for class com.ibm.oti.shared.SharedClassPermission
Constructs a new instance of this class.
SharedClassPermissionCollection - Class in com.ibm.oti.shared
Security permission collection to support SharedClassPermission
SharedClassPermissionCollection() - Constructor for class com.ibm.oti.shared.SharedClassPermissionCollection
SharedClassStatistics - Class in com.ibm.oti.shared
Class providing static functions which report basic cache statistics.
SharedClassStatistics() - Constructor for class com.ibm.oti.shared.SharedClassStatistics
SharedClassTokenHelper - Interface in com.ibm.oti.shared
Shared Class Helper API that stores and finds classes using String tokens.
SharedClassTokenHelperImpl - Class in com.ibm.oti.shared
Implementation of SharedClassTokenHelper.
SharedClassURLClasspathHelper - Interface in com.ibm.oti.shared
Shared Class Helper API that stores and finds classes using URL classpaths.
SharedClassURLClasspathHelper.IndexHolder - Interface in com.ibm.oti.shared
Interface which allows an index to be returned from findSharedClass calls.
SharedClassURLClasspathHelperImpl - Class in com.ibm.oti.shared
Implementation of SharedClassURLClasspathHelper.
SharedClassURLHelper - Interface in com.ibm.oti.shared
Shared Class Helper API that stores and finds classes using URL paths.
SharedClassURLHelperImpl - Class in com.ibm.oti.shared
Implementation of SharedClassURLHelper.
SharedClassUtilities - Class in com.ibm.oti.shared
Shared Class Utilities APIs to get information about all shared class caches in a directory and to destroy a particular shared class cache.
SharedClassUtilities() - Constructor for class com.ibm.oti.shared.SharedClassUtilities
SharedHelper - Interface in com.ibm.oti.shared
SharedHelper super-interface defines functions common to all helpers.
storeSharedClass(String, Class) - Method in interface com.ibm.oti.shared.SharedClassTokenHelper
Store a class in the shared cache using a specific token.
storeSharedClass(String, Class) - Method in class com.ibm.oti.shared.SharedClassTokenHelperImpl
storeSharedClass(Class, int) - Method in interface com.ibm.oti.shared.SharedClassURLClasspathHelper
Store a class in the shared cache using the caller's URL classpath.
storeSharedClass(String, Class, int) - Method in interface com.ibm.oti.shared.SharedClassURLClasspathHelper
Store a class in the shared cache using the caller's URL classpath and with a user-defined partition.
storeSharedClass(Class, int) - Method in class com.ibm.oti.shared.SharedClassURLClasspathHelperImpl
storeSharedClass(String, Class, int) - Method in class com.ibm.oti.shared.SharedClassURLClasspathHelperImpl
storeSharedClass(URL, Class) - Method in interface com.ibm.oti.shared.SharedClassURLHelper
Store a class in the shared cache using the URL location it was loaded from.
storeSharedClass(String, URL, Class) - Method in interface com.ibm.oti.shared.SharedClassURLHelper
Store a class in the shared cache using the URL location it was loaded from and a user-defined partition (see Partitions).
storeSharedClass(URL, Class) - Method in class com.ibm.oti.shared.SharedClassURLHelperImpl
storeSharedClass(String, URL, Class) - Method in class com.ibm.oti.shared.SharedClassURLHelperImpl