public class SplitJmxMonitor extends Object implements SplitJmxMonitorMBean
| Constructor and Description |
|---|
SplitJmxMonitor(SplitClient splitClient,
SplitFetcher featureFetcher,
SplitCacheConsumer splitCacheConsumer,
SegmentSynchronizationTask segmentSynchronizationTask,
SegmentCacheConsumer segmentCacheConsumer) |
| 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 featureFetcher, SplitCacheConsumer splitCacheConsumer, SegmentSynchronizationTask segmentSynchronizationTask, SegmentCacheConsumer segmentCacheConsumer)
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 © 2021. All rights reserved.