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