Enum Class NoopCallbackExecutor
- All Implemented Interfaces:
Serializable,Comparable<NoopCallbackExecutor>,java.lang.constant.Constable,CallbackExecutor
A callback executor that does nothing.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionvoidonEachMigrateEvent(Event event) Executes the callbacks for an "each" event within the same transaction (if any) as the main operation.voidExecutes the callbacks for this event on the main connection, within a separate transaction per callback if possible.voidonMigrateEvent(Event event) Executes the callbacks for this event on the migration connection, within a separate transaction per callback if possible.voidonOperationFinishEvent(Event event, OperationResult operationResult) Executes the callbacks for an operation finish event.voidsetMigrationInfo(MigrationInfo migrationInfo) Sets the current migration info.static NoopCallbackExecutorReturns the enum constant of this class with the specified name.static NoopCallbackExecutor[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
onEvent
Description copied from interface:CallbackExecutorExecutes the callbacks for this event on the main connection, within a separate transaction per callback if possible.- Specified by:
onEventin interfaceCallbackExecutor- Parameters:
event- The event to handle.
-
onMigrateEvent
Description copied from interface:CallbackExecutorExecutes the callbacks for this event on the migration connection, within a separate transaction per callback if possible.- Specified by:
onMigrateEventin interfaceCallbackExecutor- Parameters:
event- The event to handle.
-
setMigrationInfo
Description copied from interface:CallbackExecutorSets the current migration info.- Specified by:
setMigrationInfoin interfaceCallbackExecutor- Parameters:
migrationInfo- The current migration.
-
onEachMigrateEvent
Description copied from interface:CallbackExecutorExecutes the callbacks for an "each" event within the same transaction (if any) as the main operation.- Specified by:
onEachMigrateEventin interfaceCallbackExecutor- Parameters:
event- The event to handle.
-
onOperationFinishEvent
Description copied from interface:CallbackExecutorExecutes the callbacks for an operation finish event.- Specified by:
onOperationFinishEventin interfaceCallbackExecutor- Parameters:
event- The event to handle.operationResult- The operation result.
-