Enum IndicesClusterStateService.AllocatedIndices.IndexRemovalReason

    • Enum Constant Detail

      • NO_LONGER_ASSIGNED

        public static final IndicesClusterStateService.AllocatedIndices.IndexRemovalReason NO_LONGER_ASSIGNED
        Shard of this index were previously assigned to this node but all shards have been relocated. The index should be removed and all associated resources released. Persistent parts of the index like the shards files, state and transaction logs are kept around in the case of a disaster recovery.
      • CLOSED

        public static final IndicesClusterStateService.AllocatedIndices.IndexRemovalReason CLOSED
        The index have been closed. The index should be removed and all associated resources released. Persistent parts of the index like the shards files, state and transaction logs are kept around in the case of a disaster recovery.
      • FAILURE

        public static final IndicesClusterStateService.AllocatedIndices.IndexRemovalReason FAILURE
        Something around index management has failed and the index should be removed. Persistent parts of the index like the shards files, state and transaction logs are kept around in the case of a disaster recovery.
    • Method Detail

      • values

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

        public static IndicesClusterStateService.AllocatedIndices.IndexRemovalReason 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