Class Migration<TReadResult,​TWriteResult,​TReadInput,​TWriteInput>

  • Type Parameters:
    TReadResult - The result type for reads.
    TWriteResult - The result type for writes.
    TReadInput - The input parameter type for reads.
    TWriteInput - The input type for writes.

    public final class Migration<TReadResult,​TWriteResult,​TReadInput,​TWriteInput>
    extends java.lang.Object
    Class for performing a technology migration.

    This class is not intended to be instanced directly, but instead should be constructed using the MigrationBuilder.

    The thread safety model for a migration depends on the usage of thread-safe elements. Specifically the tracker, the client, and the thread pool should be thread-safe. Other elements of the migration instance itself are immutable for their thread-safety.