Enum NodeRefresher.State

    • Enum Constant Detail

      • QUEUED

        public static final NodeRefresher.State QUEUED
        The refresher is queued, but not started.
      • READING_LOCAL_ENTRY

        public static final NodeRefresher.State READING_LOCAL_ENTRY
        The refresher is reading the local entry.
      • SOLVING_REFERRAL

        public static final NodeRefresher.State SOLVING_REFERRAL
        The refresher is solving a referral.
      • DETECTING_CHILDREN

        public static final NodeRefresher.State DETECTING_CHILDREN
        The refresher is detecting whether the entry has children or not.
      • SEARCHING_CHILDREN

        public static final NodeRefresher.State SEARCHING_CHILDREN
        The refresher is searching for the children of the entry.
      • INTERRUPTED

        public static final NodeRefresher.State INTERRUPTED
        The refresher has been interrupted.
    • Method Detail

      • values

        public static NodeRefresher.State[] 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 (NodeRefresher.State c : NodeRefresher.State.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static NodeRefresher.State valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null