Package org.apache.druid.server
Class BrokerDynamicConfigResource
java.lang.Object
org.apache.druid.server.BrokerDynamicConfigResource
Resource for fetching and updating the
CoordinatorDynamicConfig on the Broker.-
Constructor Summary
ConstructorsConstructorDescriptionBrokerDynamicConfigResource(BrokerViewOfCoordinatorConfig brokerViewOfCoordinatorConfig) -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.ResponseReturns the Broker's view of theCoordinatorDynamicConfig.javax.ws.rs.core.ResponsesetDynamicConfig(CoordinatorDynamicConfig dynamicConfig) Updates theBrokerViewOfCoordinatorConfigwith the dynamicConfig paramter.
-
Constructor Details
-
BrokerDynamicConfigResource
@Inject public BrokerDynamicConfigResource(BrokerViewOfCoordinatorConfig brokerViewOfCoordinatorConfig)
-
-
Method Details
-
getDynamicConfig
public javax.ws.rs.core.Response getDynamicConfig()Returns the Broker's view of theCoordinatorDynamicConfig. -
setDynamicConfig
Updates theBrokerViewOfCoordinatorConfigwith the dynamicConfig paramter.
-