Class UserCustomSplitAdapterConsumer
- java.lang.Object
-
- io.split.storages.pluggable.adapters.UserCustomSplitAdapterConsumer
-
- All Implemented Interfaces:
SplitCacheCommons,SplitCacheConsumer
public class UserCustomSplitAdapterConsumer extends Object implements SplitCacheConsumer
-
-
Constructor Summary
Constructors Constructor Description UserCustomSplitAdapterConsumer(CustomStorageWrapper customStorageWrapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,ParsedSplit>fetchMany(List<String> names)ParsedSplitget(String name)Collection<ParsedSplit>getAll()longgetChangeNumber()Map<String,HashSet<String>>getNamesByFlagSets(List<String> flagSets)Set<String>getSegments()List<String>splitNames()booleantrafficTypeExists(String trafficTypeName)
-
-
-
Constructor Detail
-
UserCustomSplitAdapterConsumer
public UserCustomSplitAdapterConsumer(CustomStorageWrapper customStorageWrapper)
-
-
Method Detail
-
getChangeNumber
public long getChangeNumber()
- Specified by:
getChangeNumberin interfaceSplitCacheCommons
-
get
public ParsedSplit get(String name)
- Specified by:
getin interfaceSplitCacheConsumer
-
getAll
public Collection<ParsedSplit> getAll()
- Specified by:
getAllin interfaceSplitCacheConsumer
-
trafficTypeExists
public boolean trafficTypeExists(String trafficTypeName)
- Specified by:
trafficTypeExistsin interfaceSplitCacheConsumer
-
splitNames
public List<String> splitNames()
- Specified by:
splitNamesin interfaceSplitCacheConsumer
-
getNamesByFlagSets
public Map<String,HashSet<String>> getNamesByFlagSets(List<String> flagSets)
- Specified by:
getNamesByFlagSetsin interfaceSplitCacheConsumer
-
fetchMany
public Map<String,ParsedSplit> fetchMany(List<String> names)
- Specified by:
fetchManyin interfaceSplitCacheConsumer
-
getSegments
public Set<String> getSegments()
- Specified by:
getSegmentsin interfaceSplitCacheCommons
-
-