Class DataRegionConsensusImpl


  • public class DataRegionConsensusImpl
    extends java.lang.Object
    We can use DataRegionConsensusImpl.getInstance() to obtain a consensus layer reference for dataRegion's reading and writing
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.apache.iotdb.consensus.IConsensus getInstance()  
      static org.apache.iotdb.consensus.IConsensus setupAndGetInstance()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getInstance

        public static org.apache.iotdb.consensus.IConsensus getInstance()
      • setupAndGetInstance

        public static org.apache.iotdb.consensus.IConsensus setupAndGetInstance()