public class SplitClientForTest extends Object implements SplitClient
| Constructor and Description |
|---|
SplitClientForTest() |
public void clearTreatments()
public String getTreatment(String key, String split)
getTreatment in interface SplitClientpublic String getTreatment(String key, String split, Map<String,Object> attributes)
getTreatment in interface SplitClientpublic String getTreatment(Key key, String split, Map<String,Object> attributes)
getTreatment in interface SplitClientpublic SplitResult getTreatmentWithConfig(String key, String split)
getTreatmentWithConfig in interface SplitClientpublic SplitResult getTreatmentWithConfig(String key, String split, Map<String,Object> attributes)
getTreatmentWithConfig in interface SplitClientpublic SplitResult getTreatmentWithConfig(Key key, String split, Map<String,Object> attributes)
getTreatmentWithConfig in interface SplitClientpublic void destroy()
destroy in interface SplitClientpublic boolean track(String key, String trafficType, String eventType)
track in interface SplitClientpublic boolean track(String key, String trafficType, String eventType, double value)
track in interface SplitClientpublic boolean track(String key, String trafficType, String eventType, Map<String,Object> properties)
track in interface SplitClientpublic boolean track(String key, String trafficType, String eventType, double value, Map<String,Object> properties)
track in interface SplitClientpublic void blockUntilReady()
throws TimeoutException,
InterruptedException
blockUntilReady in interface SplitClientTimeoutExceptionInterruptedExceptionCopyright © 2021. All rights reserved.