
public abstract class Restart extends Object
DirInterface and FileInterface,
 one could want to implement a way to store or retrieve Marker from/to the
 client specification.| Modifier | Constructor and Description | 
|---|---|
| protected  | Restart(SessionInterface session)Default constructor | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract int | getMaxSize(int nextBlock) | 
| abstract long | getPosition() | 
| protected SessionInterface | getSession() | 
| protected boolean | isSet() | 
| abstract boolean | restartMarker(String marker)Restart from a Marker for the next FileInterface | 
| void | setSet(boolean isSet) | 
protected Restart(SessionInterface session)
session - protected boolean isSet()
public void setSet(boolean isSet)
isSet - the isSet to setprotected SessionInterface getSession()
public abstract boolean restartMarker(String marker) throws CommandAbstractException
marker - CommandAbstractExceptionpublic abstract long getPosition()
                          throws NoRestartException
NoRestartException - if no REST command was issued beforepublic abstract int getMaxSize(int nextBlock)
nextBlock - Copyright © 2009–2020 Waarp. All rights reserved.