Class UserCustomRuleBasedSegmentAdapterConsumer
- java.lang.Object
-
- io.split.storages.pluggable.adapters.UserCustomRuleBasedSegmentAdapterConsumer
-
- All Implemented Interfaces:
RuleBasedSegmentCacheConsumer
public class UserCustomRuleBasedSegmentAdapterConsumer extends Object implements RuleBasedSegmentCacheConsumer
-
-
Constructor Summary
Constructors Constructor Description UserCustomRuleBasedSegmentAdapterConsumer(CustomStorageWrapper customStorageWrapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontains(Set<String> ruleBasedSegmentNames)ParsedRuleBasedSegmentget(String name)Collection<ParsedRuleBasedSegment>getAll()longgetChangeNumber()Set<String>getSegments()List<String>ruleBasedSegmentNames()
-
-
-
Constructor Detail
-
UserCustomRuleBasedSegmentAdapterConsumer
public UserCustomRuleBasedSegmentAdapterConsumer(CustomStorageWrapper customStorageWrapper)
-
-
Method Detail
-
getChangeNumber
public long getChangeNumber()
- Specified by:
getChangeNumberin interfaceRuleBasedSegmentCacheConsumer
-
get
public ParsedRuleBasedSegment get(String name)
- Specified by:
getin interfaceRuleBasedSegmentCacheConsumer
-
getAll
public Collection<ParsedRuleBasedSegment> getAll()
- Specified by:
getAllin interfaceRuleBasedSegmentCacheConsumer
-
ruleBasedSegmentNames
public List<String> ruleBasedSegmentNames()
- Specified by:
ruleBasedSegmentNamesin interfaceRuleBasedSegmentCacheConsumer
-
getSegments
public Set<String> getSegments()
- Specified by:
getSegmentsin interfaceRuleBasedSegmentCacheConsumer
-
contains
public boolean contains(Set<String> ruleBasedSegmentNames)
- Specified by:
containsin interfaceRuleBasedSegmentCacheConsumer
-
-