public class SloInformation
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SloInformation.Builder |
static class |
SloInformation.SloIneligibilityReason
Reasons due to which the Feature Serving Response can be ineligible for SLO
|
| Constructor and Description |
|---|
SloInformation(java.lang.Boolean isSloEligible,
java.lang.Double serverTimeSeconds,
java.lang.Double sloServerTimeSeconds,
java.lang.Integer storeResponseSizeBytes,
java.util.Set<SloInformation.SloIneligibilityReason> sloIneligibilityReasons,
java.lang.Double storeMaxLatency) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<java.lang.Double> |
getServerTimeSeconds()
This includes the total time spent in the feature server including online transforms and store
latency
|
java.util.Set<SloInformation.SloIneligibilityReason> |
getSloIneligibilityReasons()
Reasons for the response not being eligible for SLO.
|
java.util.Optional<java.lang.Double> |
getSloServerTimeSeconds()
The server time minus any time spent waiting on line transforms to finish after all table
transforms have finished.
|
java.util.Optional<java.lang.Double> |
getStoreMaxLatency()
Max latency observed by the request from the store in seconds
|
java.util.Optional<java.lang.Integer> |
getStoreResponseSizeBytes()
Total store response size bytes
|
java.util.Optional<java.lang.Boolean> |
isSloEligible()
Returns true if the response was eligible for SLO, false otherwise.
|
public SloInformation(java.lang.Boolean isSloEligible,
java.lang.Double serverTimeSeconds,
java.lang.Double sloServerTimeSeconds,
java.lang.Integer storeResponseSizeBytes,
java.util.Set<SloInformation.SloIneligibilityReason> sloIneligibilityReasons,
java.lang.Double storeMaxLatency)
public java.util.Optional<java.lang.Boolean> isSloEligible()
public java.util.Set<SloInformation.SloIneligibilityReason> getSloIneligibilityReasons()
SloInformation.SloIneligibilityReasonpublic java.util.Optional<java.lang.Double> getServerTimeSeconds()
public java.util.Optional<java.lang.Double> getStoreMaxLatency()
public java.util.Optional<java.lang.Integer> getStoreResponseSizeBytes()
public java.util.Optional<java.lang.Double> getSloServerTimeSeconds()