public class UpgradeSnapShotV1 extends Object implements UpgradeSnapShot
| Constructor and Description |
|---|
UpgradeSnapShotV1(File dataDir,
File snapShotDir)
upgrade from version 1 to version 2
|
| Modifier and Type | Method and Description |
|---|---|
DataTree |
getNewDataTree() |
ConcurrentHashMap<Long,Integer> |
getSessionWithTimeOuts() |
long |
playLog(org.apache.jute.InputArchive logStream)
play the log from this logstream into the datatree
|
public long playLog(org.apache.jute.InputArchive logStream)
throws IOException
logStream - IOExceptionpublic DataTree getNewDataTree() throws IOException
getNewDataTree in interface UpgradeSnapShotIOExceptionpublic ConcurrentHashMap<Long,Integer> getSessionWithTimeOuts()
getSessionWithTimeOuts in interface UpgradeSnapShotCopyright © 2013 The Apache Software Foundation