Interface EntryCopier

All Known Implementing Classes:
EntryCopierImpl

public interface EntryCopier
Interface for copying entries from other bookies. The implementation should take care of selecting the order of the replicas from which we try to read, taking into account stickiness and errors. The implementation should take care of rate limiting.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    An interface for a batch to be copied.
  • Method Summary

    Modifier and Type
    Method
    Description
    newBatch(long ledgerId, LedgerMetadata metadata)
    Start copying a new batch.