| Package | Description |
|---|---|
| io.split.client |
| Modifier and Type | Method and Description |
|---|---|
String |
AlwaysReturnControlSplitClient.getTreatment(Key key,
String split,
Map<String,Object> attributes) |
String |
LocalhostSplitClient.getTreatment(Key key,
String split,
Map<String,Object> attributes) |
String |
SplitClientImpl.getTreatment(Key key,
String split,
Map<String,Object> attributes) |
String |
LocalhostSplitClientAndFactory.getTreatment(Key key,
String split,
Map<String,Object> attributes) |
String |
SplitClient.getTreatment(Key key,
String split,
Map<String,Object> attributes)
To understand why this method is useful, consider the following simple Split as an example:
if user is in segment employees then split 100%:on
else if user is in segment all then split 20%:on,80%:off
There are two concepts here: matching and bucketing.
|
SplitResult |
AlwaysReturnControlSplitClient.getTreatmentWithConfig(Key key,
String split,
Map<String,Object> attributes) |
SplitResult |
LocalhostSplitClient.getTreatmentWithConfig(Key key,
String split,
Map<String,Object> attributes) |
SplitResult |
SplitClientImpl.getTreatmentWithConfig(Key key,
String split,
Map<String,Object> attributes) |
SplitResult |
LocalhostSplitClientAndFactory.getTreatmentWithConfig(Key key,
String split,
Map<String,Object> attributes) |
SplitResult |
SplitClient.getTreatmentWithConfig(Key key,
String split,
Map<String,Object> attributes)
Same as
SplitClient.getTreatment(Key, String, Map) but it returns the configuration associated to the
matching treatment if any. |
Copyright © 2019. All rights reserved.