Class GridCacheSharedManagerAdapter<K,​V>

    • Constructor Detail

      • GridCacheSharedManagerAdapter

        public GridCacheSharedManagerAdapter()
    • Method Detail

      • onKernalStart

        public final void onKernalStart​(boolean active)
        Callback that notifies that kernal has successfully started, including all managers and processors.
        Specified by:
        onKernalStart in interface GridCacheSharedManager<K,​V>
        Parameters:
        active - Cluster active flag.
      • onKernalStart0

        protected void onKernalStart0​(boolean active)
        Parameters:
        active - Cluster active flag.
      • stop

        public final void stop​(boolean cancel)
        Stops manager.
        Specified by:
        stop in interface GridCacheSharedManager<K,​V>
        Parameters:
        cancel - Cancel flag.
      • isStopping

        protected final boolean isStopping()
        Returns:
        true If this component is stopping.
      • stop0

        protected void stop0​(boolean cancel)
        Parameters:
        cancel - Cancel flag.
      • onKernalStop0

        protected void onKernalStop0​(boolean cancel)
        Parameters:
        cancel - Cancel flag.
      • printMemoryStats

        public void printMemoryStats()
        Prints memory statistics (sizes of internal data structures, etc.). NOTE: this method is for testing and profiling purposes only.
        Specified by:
        printMemoryStats in interface GridCacheSharedManager<K,​V>
      • startInfo

        protected String startInfo()
        Returns:
        Start info.
      • stopInfo

        protected String stopInfo()
        Returns:
        Stop info.
      • kernalStartInfo

        protected String kernalStartInfo()
        Returns:
        Start info.
      • kernalStopInfo

        protected String kernalStopInfo()
        Returns:
        Stop info.