All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.split.storages.SegmentCacheConsumer Maven / Gradle / Ivy

package io.split.storages;

import io.split.engine.segments.SegmentImp;

import java.util.List;

public interface SegmentCacheConsumer extends SegmentCacheCommons{
    /**
     * evaluates if a key belongs to a segment
     * @param segmentName
     * @param key
     * @return
     */
    boolean isInSegment(String segmentName, String key);

    /**
     * return every segment
     * @return
     */
    long getSegmentCount();

    /**
     * return key count
     * @return
     */
    long getKeyCount();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy