Class ProcedureInfo
java.lang.Object
org.apache.iotdb.confignode.persistence.ProcedureInfo
- All Implemented Interfaces:
SnapshotProcessor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeleteProcedure(DeleteProcedurePlan deleteProcedurePlan) booleanlonginthashCode()booleanoldLoad()oldUpdateProcedure(UpdateProcedurePlan updateProcedurePlan) voidprocessLoadSnapshot(File snapshotDir) booleanprocessTakeSnapshot(File snapshotDir) updateProcedure(UpdateProcedurePlan updateProcedurePlan) voidupgrade()
-
Constructor Details
-
ProcedureInfo
-
-
Method Details
-
isOldVersion
public boolean isOldVersion() -
oldLoad
-
upgrade
public void upgrade() -
updateProcedure
-
oldUpdateProcedure
-
deleteProcedure
-
processTakeSnapshot
public boolean processTakeSnapshot(File snapshotDir) throws org.apache.thrift.TException, IOException - Specified by:
processTakeSnapshotin interfaceSnapshotProcessor- Throws:
org.apache.thrift.TExceptionIOException
-
processLoadSnapshot
- Specified by:
processLoadSnapshotin interfaceSnapshotProcessor- Throws:
org.apache.thrift.TExceptionIOException
-
getProcedures
-
getNextProcId
public long getNextProcId() -
equals
-
hashCode
public int hashCode()
-