public class SplitJmxMonitor extends Object implements SplitJmxMonitorMBean
| Constructor and Description |
|---|
SplitJmxMonitor(io.split.client.SplitClient splitClient,
io.split.engine.experiments.SplitFetcher fetcher,
io.split.engine.segments.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(io.split.client.SplitClient splitClient,
io.split.engine.experiments.SplitFetcher fetcher,
io.split.engine.segments.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 © 2016. All rights reserved.