goldengate.common.file.filesystembased
Class FilesystemBasedRestartImpl

java.lang.Object
  extended by goldengate.common.file.Restart
      extended by goldengate.common.file.filesystembased.FilesystemBasedRestartImpl
Direct Known Subclasses:
PassthroughBasedRestartImpl

public abstract class FilesystemBasedRestartImpl
extends Restart

Restart implementation for Filesystem Based

Author:
Frederic Bregier

Field Summary
protected  long position
          Valid Position for the next current file
 
Constructor Summary
FilesystemBasedRestartImpl(SessionInterface session)
           
 
Method Summary
 long getPosition()
           
 
Methods inherited from class goldengate.common.file.Restart
getSession, isSet, restartMarker, setSet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

position

protected long position
Valid Position for the next current file

Constructor Detail

FilesystemBasedRestartImpl

public FilesystemBasedRestartImpl(SessionInterface session)
Parameters:
session -
Method Detail

getPosition

public long getPosition()
                 throws NoRestartException
Specified by:
getPosition in class Restart
Returns:
the position from a previous REST command
Throws:
NoRestartException - if no REST command was issued before


Copyright © 2009-2012 Frederic Bregier. All Rights Reserved.