public final enum


extends Enum<E extends Enum<E>>
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ org.apache.helix.HelixDefinedState

Class Overview

helix defined states ERROR : when errors happen during state transitions, transit to ERROR state participant will also invoke state-model.on-err(), ignore errors in state-model.on-err() when drop resource in ERROR state and not disabled, controller sends ERROR->DROPPED transition if errors happen in ERROR->DROPPED transition, participant will disable resource/partition when disable resource/partition in ERROR state, resource/partition will be marked disabled but controller not send any transitions when reset resource/partition in ERROR state and not disabled controller send ERROR->initial-state transition if errors happen in ERROR->initial-state transition, remain in ERROR state DROPPED : when drop resource in a non-ERROR state and not disabled controller sends all the transitions from current-state to initial-state then sends initial-state->DROPPED transition

See Also
  • HELIX-43: add support for dropping partitions in error state


Enum Values
HelixDefinedState  DROPPED   
HelixDefinedState  ERROR   
Public Methods
static HelixDefinedState valueOf(String name)
final static HelixDefinedState[] values()
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final HelixDefinedState DROPPED

public static final HelixDefinedState ERROR

Public Methods

public static HelixDefinedState valueOf (String name)

public static final HelixDefinedState[] values ()