Enum BspEvent
- java.lang.Object
-
- java.lang.Enum<BspEvent>
-
- org.apache.hugegraph.computer.core.bsp.BspEvent
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description bytecode()java.lang.Stringkey()static BspEventvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static BspEvent[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BSP_MASTER_INIT_DONE
public static final BspEvent BSP_MASTER_INIT_DONE
-
BSP_WORKER_INIT_DONE
public static final BspEvent BSP_WORKER_INIT_DONE
-
BSP_MASTER_ALL_INIT_DONE
public static final BspEvent BSP_MASTER_ALL_INIT_DONE
-
BSP_MASTER_RESUME_DONE
public static final BspEvent BSP_MASTER_RESUME_DONE
-
BSP_WORKER_INPUT_DONE
public static final BspEvent BSP_WORKER_INPUT_DONE
-
BSP_MASTER_INPUT_DONE
public static final BspEvent BSP_MASTER_INPUT_DONE
-
BSP_WORKER_STEP_PREPARE_DONE
public static final BspEvent BSP_WORKER_STEP_PREPARE_DONE
-
BSP_MASTER_STEP_PREPARE_DONE
public static final BspEvent BSP_MASTER_STEP_PREPARE_DONE
-
BSP_WORKER_STEP_COMPUTE_DONE
public static final BspEvent BSP_WORKER_STEP_COMPUTE_DONE
-
BSP_MASTER_STEP_COMPUTE_DONE
public static final BspEvent BSP_MASTER_STEP_COMPUTE_DONE
-
BSP_WORKER_STEP_DONE
public static final BspEvent BSP_WORKER_STEP_DONE
-
BSP_MASTER_STEP_DONE
public static final BspEvent BSP_MASTER_STEP_DONE
-
BSP_WORKER_OUTPUT_DONE
public static final BspEvent BSP_WORKER_OUTPUT_DONE
-
BSP_WORKER_CLOSE_DONE
public static final BspEvent BSP_WORKER_CLOSE_DONE
-
-
Method Detail
-
values
public static BspEvent[] 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 (BspEvent c : BspEvent.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BspEvent 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 namejava.lang.NullPointerException- if the argument is null
-
code
public byte code()
-
key
public java.lang.String key()
-
-