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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.List<org.apache.curator.framework.api.transaction.CuratorOp> operations()
      Return the operations to execute in a transaction.
    • Method Detail

      • operations

        java.util.List<org.apache.curator.framework.api.transaction.CuratorOp> operations()
        Return the operations to execute in a transaction. IMPORTANT: during a migration this method may be called multiple times.
        Returns:
        operations