Class Shared

    • Constructor Detail

      • Shared

        @Deprecated
        public Shared()
        Deprecated.
        Constructs a new instance of this class.
    • Method Detail

      • isSharingEnabled

        public static boolean isSharingEnabled()
        Checks if sharing is enabled for this JVM.
        Returns:
        true if using -Xshareclasses on the command-line, false otherwise
      • getSharedClassHelperFactory

        public static SharedClassHelperFactory getSharedClassHelperFactory()
        If sharing is enabled, returns a SharedClassHelperFactory, otherwise returns null.
        Returns:
        SharedClassHelperFactory
      • getSharedDataHelperFactory

        public static SharedDataHelperFactory getSharedDataHelperFactory()
        If sharing is enabled, returns a SharedDataHelperFactory, otherwise returns null.
        Returns:
        SharedDataHelperFactory