Class BGSpongy


  • public class BGSpongy
    extends java.lang.Object
    • Field Detail

      • plugin_init_complete

        private static AESemaphore plugin_init_complete
      • core

        private static volatile Core core
      • spongy_install_lock

        private static java.lang.Object spongy_install_lock
      • spongy_installing

        private static boolean spongy_installing
      • spongy_installed

        private static boolean spongy_installed
      • spongy_install_failed

        private static boolean spongy_install_failed
      • spongy_install_waiters

        private static java.util.List<AESemaphore> spongy_install_waiters
    • Constructor Detail

      • BGSpongy

        public BGSpongy()
    • Method Detail

      • initialize

        public static void initialize​(Core _core)
      • pluginRemoved

        private static void pluginRemoved​(PluginInterface pi)
      • getDigest

        public static java.security.MessageDigest getDigest​(java.lang.String algorithm,
                                                            long max_wait)
        Parameters:
        algorithm - digest algorithm e.g. SHA3-256
        max_wait - <0: infinite; 0: no wait; >0: max wait millis
      • getICP

        private static IPCInterface getICP​(long max_wait)
      • installCompleted

        private static void installCompleted​(boolean ok)