Class AdmissionControlSettings
java.lang.Object
org.opensearch.ratelimitting.admissioncontrol.AdmissionControlSettings
Settings related to admission control.
- Opensearch.internal:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Default parameters for the AdmissionControlSettings -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Setting
<AdmissionControlMode> Feature level setting to operate in shadow-mode or in enforced-mode. -
Constructor Summary
ConstructorsConstructorDescriptionAdmissionControlSettings
(ClusterSettings clusterSettings, Settings settings) -
Method Summary
Modifier and TypeMethodDescription
-
Field Details
-
ADMISSION_CONTROL_TRANSPORT_LAYER_MODE
Feature level setting to operate in shadow-mode or in enforced-mode. If enforced field is set rejection will be performed, otherwise only rejection metrics will be populated.
-
-
Constructor Details
-
AdmissionControlSettings
- Parameters:
clusterSettings
- clusterSettings Instancesettings
- settings instance
-
-
Method Details
-
getAdmissionControlTransportLayerMode
- Returns:
- return the default mode of the admissionControl
-
isTransportLayerAdmissionControlEnforced
- Returns:
- true based on the admission control feature is enforced else false
-
isTransportLayerAdmissionControlEnabled
- Returns:
- true based on the admission control feature is enabled else false
-