Class BrokerResourceOnlineOfflineStateModelFactory


  • public class BrokerResourceOnlineOfflineStateModelFactory
    extends org.apache.helix.participant.statemachine.StateModelFactory<org.apache.helix.participant.statemachine.StateModel>
    Broker Resource layer state model to take over how to operate on: Adding an external view to routing table.
    • Constructor Detail

      • BrokerResourceOnlineOfflineStateModelFactory

        public BrokerResourceOnlineOfflineStateModelFactory​(org.apache.helix.store.zk.ZkHelixPropertyStore<org.apache.helix.zookeeper.datamodel.ZNRecord> propertyStore,
                                                            org.apache.helix.HelixDataAccessor helixDataAccessor,
                                                            BrokerRoutingManager routingManager,
                                                            HelixExternalViewBasedQueryQuotaManager queryQuotaManager)
    • Method Detail

      • getStateModelDef

        public static String getStateModelDef()
      • createNewStateModel

        public org.apache.helix.participant.statemachine.StateModel createNewStateModel​(String resourceName,
                                                                                        String partitionName)
        Overrides:
        createNewStateModel in class org.apache.helix.participant.statemachine.StateModelFactory<org.apache.helix.participant.statemachine.StateModel>