Class BaseStateMachine

  • All Implemented Interfaces:
    org.apache.iotdb.consensus.IStateMachine, org.apache.iotdb.consensus.IStateMachine.EventApi
    Direct Known Subclasses:
    DataRegionStateMachine, SchemaRegionStateMachine

    public abstract class BaseStateMachine
    extends java.lang.Object
    implements org.apache.iotdb.consensus.IStateMachine, org.apache.iotdb.consensus.IStateMachine.EventApi
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.apache.iotdb.consensus.IStateMachine

        org.apache.iotdb.consensus.IStateMachine.EventApi, org.apache.iotdb.consensus.IStateMachine.Registry
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected FragmentInstance getFragmentInstance​(org.apache.iotdb.consensus.common.request.IConsensusRequest request)  
      protected PlanNode getPlanNode​(org.apache.iotdb.consensus.common.request.IConsensusRequest request)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apache.iotdb.consensus.IStateMachine

        event, getSnapshotFiles, isReadOnly, loadSnapshot, read, start, stop, takeSnapshot, write
      • Methods inherited from interface org.apache.iotdb.consensus.IStateMachine.EventApi

        notifyConfigurationChanged, notifyLeaderChanged
    • Constructor Detail

      • BaseStateMachine

        public BaseStateMachine()
    • Method Detail

      • getFragmentInstance

        protected FragmentInstance getFragmentInstance​(org.apache.iotdb.consensus.common.request.IConsensusRequest request)
      • getPlanNode

        protected PlanNode getPlanNode​(org.apache.iotdb.consensus.common.request.IConsensusRequest request)