Class AgentBuilder.RedefinitionStrategy.ResubmissionStrategy.Enabled.StorageKey

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int hashCode
      The represented class loader's hash code or 0 if this entry represents the bootstrap class loader.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected StorageKey​(java.lang.ClassLoader classLoader)
      Creates a new storage key.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object other)  
      int hashCode()  
      protected boolean isBootstrapLoader()
      Checks if this reference represents the bootstrap class loader.
      • Methods inherited from class java.lang.ref.Reference

        clear, clone, enqueue, get, isEnqueued, reachabilityFence
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • hashCode

        private final int hashCode
        The represented class loader's hash code or 0 if this entry represents the bootstrap class loader.
    • Constructor Detail

      • StorageKey

        protected StorageKey​(java.lang.ClassLoader classLoader)
        Creates a new storage key.
        Parameters:
        classLoader - The represented class loader or null for the bootstrap class loader.
    • Method Detail

      • isBootstrapLoader

        protected boolean isBootstrapLoader()
        Checks if this reference represents the bootstrap class loader.
        Returns:
        true if this entry represents the bootstrap class loader.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object