Class NexusAccessor.Dispatcher.Available

    • Method Detail

      • isAlive

        public boolean isAlive()
        Returns true if this dispatcher is alive.
        Specified by:
        isAlive in interface NexusAccessor.Dispatcher
        Returns:
        true if this dispatcher is alive.
      • register

        public void register​(String name,
                             ClassLoader classLoader,
                             ReferenceQueue<? super ClassLoader> referenceQueue,
                             int identification,
                             LoadedTypeInitializer loadedTypeInitializer)
        Registers a type initializer with the system class loader's nexus.
        Specified by:
        register in interface NexusAccessor.Dispatcher
        Parameters:
        name - The name of a type for which a loaded type initializer is registered.
        classLoader - The class loader for which a loaded type initializer is registered.
        referenceQueue - A reference queue to notify about stale nexus entries or null if no queue should be referenced.
        identification - An identification for the initializer to run.
        loadedTypeInitializer - The loaded type initializer to be registered.