org.apache.uima.collection.base_cpm

## Interface RecoverableCollectionReader

-     public interface RecoverableCollectionReader

  Interface facilitating CollectionReader recovery from failures. Any CollectionReader supporting recovery must implement this interface.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `SynchPoint` | `getSynchPoint()` Retrieves data facilitating recovery of the CollectionReader
    `void` | `moveTo(SynchPoint aSynchPoint)` Start CollectionReader recovery to a given synch point

- - ### Method Detail

    - #### moveTo

          void moveTo(SynchPoint aSynchPoint)
               throws CollectionException

      Start CollectionReader recovery to a given synch point
      Parameters:
        `aSynchPoint` - - contains recovery information
      Throws:
        `CollectionException` - passthru

    - #### getSynchPoint

          SynchPoint getSynchPoint()

      Retrieves data facilitating recovery of the CollectionReader
      Returns:
        the SynchPoint for the current position of the CollectionReader

Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.