Uses of Class
io.split.client.api.Key
-
Packages that use Key Package Description io.split.client -
-
Uses of Key in io.split.client
Methods in io.split.client with parameters of type Key Modifier and Type Method Description StringSplitClient. getTreatment(Key key, String featureFlagName, Map<String,Object> attributes)To understand why this method is useful, consider the following simple Feature Flag as an example: if user is in segment employees then feature flag 100%:on else if user is in segment all then feature flag 20%:on,80%:off There are two concepts here: matching and bucketing.StringSplitClientImpl. getTreatment(Key key, String featureFlagName, Map<String,Object> attributes)Map<String,String>SplitClient. getTreatments(Key key, List<String> featureFlagNames, Map<String,Object> attributes)To understand why this method is useful, consider the following simple Feature Flag as an example: if user is in segment employees then feature flag 100%:on else if user is in segment all then feature flag 20%:on,80%:off There are two concepts here: matching and bucketing.Map<String,String>SplitClientImpl. getTreatments(Key key, List<String> featureFlagNames, Map<String,Object> attributes)Map<String,SplitResult>SplitClient. getTreatmentsWithConfig(Key key, List<String> featureFlagNames, Map<String,Object> attributes)Same as#getTreatments(Key, Listbut it returns for each feature flag the configuration associated to the matching treatment if any., Map) Map<String,SplitResult>SplitClientImpl. getTreatmentsWithConfig(Key key, List<String> featureFlagNames, Map<String,Object> attributes)SplitResultSplitClient. getTreatmentWithConfig(Key key, String featureFlagName, Map<String,Object> attributes)Same asSplitClient.getTreatment(Key, String, Map)but it returns the configuration associated to the matching treatment if any.SplitResultSplitClientImpl. getTreatmentWithConfig(Key key, String featureFlagName, Map<String,Object> attributes)
-