A C E G H O P Q R S W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- actionNecessary(Double, double) - Method in class org.swisspush.gateleen.qos.QoSHandler
-
Takes the ratio of the rule and compares if the calculated sentinel ratio from the desc.
- addAction(String) - Method in class org.swisspush.gateleen.qos.QoSRule
-
Adds an action.
C
- cancelTimer() - Method in class org.swisspush.gateleen.qos.QoSHandler
-
Cancels the timer.
- clearAction() - Method in class org.swisspush.gateleen.qos.QoSRule
-
Removes all actions for this rule.
- createQoSConfig(JsonObject) - Method in class org.swisspush.gateleen.qos.QoSHandler
-
Creates the QoS config object from the given JsonObject and returns it.
- createQoSSentinels(JsonObject) - Method in class org.swisspush.gateleen.qos.QoSHandler
-
Creates the QoS sentinel objects from the given JsonObject and returns them in a list.
E
- enableResourceLogging(boolean) - Method in class org.swisspush.gateleen.qos.QoSHandler
- evaluateQoSActions() - Method in class org.swisspush.gateleen.qos.QoSHandler
-
Calculates the threshold and determines if any action for each rule has to be applied.
G
- getActions() - Method in class org.swisspush.gateleen.qos.QoSRule
-
Returns a list of actions which hase to be performed.
- getLowestPercentileMinValue() - Method in class org.swisspush.gateleen.qos.QoSSentinel
-
Returns the minimal lowest percentile value of this sentinel.
- getLowestPercentileValue() - Method in class org.swisspush.gateleen.qos.QoSSentinel
-
Returns the lowest measured percentile value of this sentinel.
- getMinSampleCount() - Method in class org.swisspush.gateleen.qos.QoSConfig
-
Returns the amount of samples which a sentinel has to provide to be counted as a valid sentinel.
- getMinSentinelCount() - Method in class org.swisspush.gateleen.qos.QoSConfig
-
Returns the amount of sentinels which must be available to perform a QoS calculation.
- getName() - Method in class org.swisspush.gateleen.qos.QoSSentinel
-
Returns the name of this sentinel.
- getOldSentinel(String) - Method in class org.swisspush.gateleen.qos.QoSHandler
-
We try to retrive the old sentinel (if available).
- getPercentile() - Method in class org.swisspush.gateleen.qos.QoSConfig
-
Returns the percentile which should be read from the metrics (sentinels).
- getPercentile() - Method in class org.swisspush.gateleen.qos.QoSSentinel
-
Returns a percentile which is used to override the global setting for this specific metric.
- getPeriod() - Method in class org.swisspush.gateleen.qos.QoSConfig
-
Returns the period in seconds, after which the QoS calculation is executed.
- getQosRules() - Method in class org.swisspush.gateleen.qos.QoSHandler
-
Returns a list of the QoS rules.
- getQosSentinels() - Method in class org.swisspush.gateleen.qos.QoSHandler
-
Gets a list of all sentinels.
- getQuorum() - Method in class org.swisspush.gateleen.qos.QoSConfig
-
Returns how many percent of all api's must be over the defined ratio, so the given api is rejected.
- getReject() - Method in class org.swisspush.gateleen.qos.QoSRule
-
Returns the ratio which indicates if the request should be rejected or not.
- getUrlPattern() - Method in class org.swisspush.gateleen.qos.QoSRule
-
Returns a precompiled pattern for this rule.
- getWarn() - Method in class org.swisspush.gateleen.qos.QoSRule
-
Returns the ratio which indicates if the request should be logged with a warning or not.
H
- handle(HttpServerRequest) - Method in class org.swisspush.gateleen.qos.QoSHandler
-
Processes the request if it’s a request concerning the updates of the QoS settings or if it’s a request affected by the QoS rules.
O
- org.swisspush.gateleen.qos - package org.swisspush.gateleen.qos
P
- parseQoSSettings(Buffer) - Method in class org.swisspush.gateleen.qos.QoSHandler
-
Tries to parse the QoS settings.
- performAction() - Method in class org.swisspush.gateleen.qos.QoSRule
-
Indicates if an action has to be performed or not.
Q
- QoSConfig - Class in org.swisspush.gateleen.qos
-
Represents the global configuration of the QoS feature.
- QoSConfig(int, int, int, int, int) - Constructor for class org.swisspush.gateleen.qos.QoSConfig
-
Creates a new global configuration object for the QoS.
- QoSHandler - Class in org.swisspush.gateleen.qos
-
QoS Handler.
- QoSHandler(Vertx, ResourceStorage, String, Map<String, Object>, String) - Constructor for class org.swisspush.gateleen.qos.QoSHandler
-
Creates a new instance of the QoSHandler.
- QoSRule - Class in org.swisspush.gateleen.qos
-
Represents a rule for the QoS Handler.
- QoSRule(Pattern) - Constructor for class org.swisspush.gateleen.qos.QoSRule
-
Creates a new QoS rule object with the given pattern.
- QoSSentinel - Class in org.swisspush.gateleen.qos
-
Represents a sentinel of the QoS.
- QoSSentinel(String) - Constructor for class org.swisspush.gateleen.qos.QoSSentinel
-
Creates a new sentinel with the given name.
R
- REJECT_ACTION - Static variable in class org.swisspush.gateleen.qos.QoSHandler
- removeAction(String) - Method in class org.swisspush.gateleen.qos.QoSRule
-
Removes the action.
S
- setGlobalQoSConfig(QoSConfig) - Method in class org.swisspush.gateleen.qos.QoSHandler
-
Sets the global configuration for the QoS.
- setLowestPercentileMinValue(Double) - Method in class org.swisspush.gateleen.qos.QoSSentinel
-
Sets the minimal lowest percentile value of this sentinel.
- setLowestPercentileValue(double) - Method in class org.swisspush.gateleen.qos.QoSSentinel
-
Sets the lowest measured percentile value of this sentinel.
- setMBeanServer(MBeanServer) - Method in class org.swisspush.gateleen.qos.QoSHandler
-
Sets the mbean server.
- setPercentile(int) - Method in class org.swisspush.gateleen.qos.QoSSentinel
-
Sets the percentile to override the global setting.
- setQosRules(List<QoSRule>) - Method in class org.swisspush.gateleen.qos.QoSHandler
-
Sets the QoS rules.
- setQosSentinels(List<QoSSentinel>) - Method in class org.swisspush.gateleen.qos.QoSHandler
-
Sets a list of all sentinels.
- setReject(Double) - Method in class org.swisspush.gateleen.qos.QoSRule
-
Sets the ratio which indicates if the request should be rejected or not.
- setWarn(Double) - Method in class org.swisspush.gateleen.qos.QoSRule
-
Returns the ratio which indicates if the request should be logged with a warning or not.
W
- WARN_ACTION - Static variable in class org.swisspush.gateleen.qos.QoSHandler
All Classes All Packages