Class PipeInfo
java.lang.Object
org.apache.iotdb.confignode.persistence.pipe.PipeInfo
- All Implemented Interfaces:
SnapshotProcessor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionalterPipe(AlterPipePlanV2 plan) createPipe(CreatePipePlanV2 plan) dropPipe(DropPipePlanV2 plan) booleaninthashCode()Note: This interface is only used for subscription and thus irrelevant to thePipeConfigNodeSubtask.voidprocessLoadSnapshot(File snapshotDir) booleanprocessTakeSnapshot(File snapshotDir) toString()
-
Constructor Details
-
PipeInfo
- Throws:
IOException
-
-
Method Details
-
getPipePluginInfo
-
getPipeTaskInfo
-
createPipe
-
setPipeStatus
-
dropPipe
-
alterPipe
-
operateMultiplePipes
Note: This interface is only used for subscription and thus irrelevant to thePipeConfigNodeSubtask. Hence, we can skip the operation ofPipeConfigNodeTaskAgentandPipeConfigRegionListenerhere.- Parameters:
plans- AnOperateMultiplePipesPlanV2consisting of many subPlans- Returns:
- result
TSStatus
-
handleLeaderChange
-
handleMetaChanges
-
processTakeSnapshot
- Specified by:
processTakeSnapshotin interfaceSnapshotProcessor- Throws:
IOException
-
processLoadSnapshot
- Specified by:
processLoadSnapshotin interfaceSnapshotProcessor- Throws:
IOException
-
equals
-
hashCode
public int hashCode() -
toString
-