public class SplitJmxMonitor extends Object implements SplitJmxMonitorMBean
| Constructor and Description |
|---|
SplitJmxMonitor(SplitClient splitClient,
SplitFetcher fetcher,
SegmentFetcher segmentFetcher) |
| Modifier and Type | Method and Description |
|---|---|
String |
fetchDefinition(String featureName) |
boolean |
forceSyncFeatures() |
boolean |
forceSyncSegment(String segmentName) |
String |
getTreatment(String key,
String featureName) |
boolean |
isKeyInSegment(String key,
String segmentName) |
public SplitJmxMonitor(SplitClient splitClient, SplitFetcher fetcher, SegmentFetcher segmentFetcher)
public boolean forceSyncFeatures()
forceSyncFeatures in interface SplitJmxMonitorMBeanpublic boolean forceSyncSegment(String segmentName)
forceSyncSegment in interface SplitJmxMonitorMBeanpublic String getTreatment(String key, String featureName)
getTreatment in interface SplitJmxMonitorMBeankey - account of user key identifierfeatureName - the name of the featurepublic String fetchDefinition(String featureName)
fetchDefinition in interface SplitJmxMonitorMBeanpublic boolean isKeyInSegment(String key, String segmentName)
isKeyInSegment in interface SplitJmxMonitorMBeanCopyright © 2019. All rights reserved.