Enum AgentBuilder.RedefinitionStrategy.BatchAllocator.ForTotal

    • Constructor Detail

      • ForTotal

        private ForTotal()
    • Method Detail

      • values

        public static AgentBuilder.RedefinitionStrategy.BatchAllocator.ForTotal[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (AgentBuilder.RedefinitionStrategy.BatchAllocator.ForTotal c : AgentBuilder.RedefinitionStrategy.BatchAllocator.ForTotal.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AgentBuilder.RedefinitionStrategy.BatchAllocator.ForTotal valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • batch

        public java.lang.Iterable<? extends java.util.List<java.lang.Class<?>>> batch​(java.util.List<java.lang.Class<?>> types)
        Splits a list of types to be retransformed into separate batches.
        Specified by:
        batch in interface AgentBuilder.RedefinitionStrategy.BatchAllocator
        Parameters:
        types - A list of types which should be retransformed.
        Returns:
        An iterable of retransformations within a batch.