io.split.cache.SplitCache Maven / Gradle / Ivy
package io.split.cache;
import io.split.engine.experiments.ParsedSplit;
import java.util.Collection;
import java.util.List;
public interface SplitCache {
void put(ParsedSplit split);
boolean remove(String name);
ParsedSplit get(String name);
Collection getAll();
Collection getMany(List names);
long getChangeNumber();
void setChangeNumber(long changeNumber);
boolean trafficTypeExists(String trafficTypeName);
void kill(String splitName, String defaultTreatment, long changeNumber);
void clear();
}