java.lang.Object
com.ibm.oti.shared.Shared
Global class that provides SharedClassHelperFactory, SharedDataHelperFactory and sharing status.
-
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
Deprecated.Constructs a new instance of this class.
-
-
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
-