Instance Methods | |
(void) | - add: |
(void) | - addOnStateChange: |
(FMLiveSwitchMetricMonitorStateChangeEventArgs *) | - addOnStateChangeWithBlock |
(void) | - addOnStateChangeWithBlock: |
(instancetype) | - initWithConnectionId: |
(instancetype) | - initWithConnectionId:windowSize:minimumSamplesForThresholdDetection:minimumThreshold:trendThreshold:stabilizationCheckIntervalMs: |
(int) | - minimumCalculatedThreshold |
(int) | - minimumSamplesForThresholdDetection |
(int) | - minimumThreshold |
(void) | - removeOnStateChange: |
(FMLiveSwitchRollingWindow *) | - rollingWindow |
(int) | - stabilizationCheckIntervalMs |
(FMLiveSwitchMetricMonitorState) | - state |
(void) | - transitionStateWithNewState:metricValue:metricThreshold:metricTrend: |
(float) | - trendThreshold |
- (void) add: | (int) | value |
- (void) addOnStateChange: | (FMLiveSwitchAction1< FMLiveSwitchMetricMonitorStateChangeEventArgs * > *) | value |
- (FMLiveSwitchMetricMonitorStateChangeEventArgs*) addOnStateChangeWithBlock |
- (void) addOnStateChangeWithBlock: | (void(^)(FMLiveSwitchMetricMonitorStateChangeEventArgs *)) | valueBlock |
+ (int) defaultMinimumSamplesForThresholdDetection |
+ (int) defaultMinimumThreshold |
+ (int) defaultStabilizationIntervalCheckMilliseconds |
+ (float) defaultTrendThreshold |
+ (int) defaultWindowSize |
- (instancetype) initWithConnectionId: | (NSString *) | connectionId |
- (instancetype) initWithConnectionId: | (NSString *) | connectionId | |
windowSize: | (int) | windowSize | |
minimumSamplesForThresholdDetection: | (int) | minimumSamplesForThresholdDetection | |
minimumThreshold: | (int) | minimumThreshold | |
trendThreshold: | (float) | trendThreshold | |
stabilizationCheckIntervalMs: | (int) | stabilizationCheckIntervalMs | |
+ (FMLiveSwitchMetricMonitor*) metricMonitorWithConnectionId: | (NSString *) | connectionId |
+ (FMLiveSwitchMetricMonitor*) metricMonitorWithConnectionId: | (NSString *) | connectionId | |
windowSize: | (int) | windowSize | |
minimumSamplesForThresholdDetection: | (int) | minimumSamplesForThresholdDetection | |
minimumThreshold: | (int) | minimumThreshold | |
trendThreshold: | (float) | trendThreshold | |
stabilizationCheckIntervalMs: | (int) | stabilizationCheckIntervalMs | |
- (int) minimumCalculatedThreshold |
- (int) minimumSamplesForThresholdDetection |
- (int) minimumThreshold |
- (void) removeOnStateChange: | (FMLiveSwitchAction1< FMLiveSwitchMetricMonitorStateChangeEventArgs * > *) | value |
- (FMLiveSwitchRollingWindow*) rollingWindow |
+ (void) setDefaultMinimumSamplesForThresholdDetection: | (int) | value |
+ (void) setDefaultMinimumThreshold: | (int) | value |
+ (void) setDefaultStabilizationIntervalCheckMilliseconds: | (int) | value |
+ (void) setDefaultTrendThreshold: | (float) | value |
+ (void) setDefaultWindowSize: | (int) | value |
- (int) stabilizationCheckIntervalMs |
- (FMLiveSwitchMetricMonitorState) state |
- (void) transitionStateWithNewState: | (FMLiveSwitchMetricMonitorState) | newState | |
metricValue: | (int) | metricValue | |
metricThreshold: | (int) | metricThreshold | |
metricTrend: | (float) | metricTrend | |
- (float) trendThreshold |