Interface Migration

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface Migration
Models a single migration/transition
  • Method Summary

    Modifier and Type
    Method
    Description
    Return the operations to execute in a transaction.
  • Method Details

    • operations

      List<CuratorOp> operations()
      Return the operations to execute in a transaction. IMPORTANT: during a migration this method may be called multiple times.
      Returns:
      operations