Class Shared
java.lang.Object
com.ibm.oti.shared.Shared
Global class that provides SharedClassHelperFactory, SharedDataHelperFactory and sharing status.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SharedClassHelperFactory
If sharing is enabled, returns a SharedClassHelperFactory, otherwise returns null.static SharedDataHelperFactory
If sharing is enabled, returns a SharedDataHelperFactory, otherwise returns null.static boolean
Checks if sharing is enabled for this JVM.
-
Constructor Details
-
Shared
-
-
Method Details
-
isSharingEnabled
public static boolean isSharingEnabled()Checks if sharing is enabled for this JVM.- Returns:
- true if using -Xshareclasses on the command-line, false otherwise
-