Package 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

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

- ## Method Details

  - ### 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