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

getSynchPoint

SynchPoint getSynchPoint()
Retrieves data facilitating recovery of the CollectionReader

Returns:
the SynchPoint for the current position of the CollectionReader


Copyright © 2010 The Apache Software Foundation. All Rights Reserved.