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

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

package io.split.storages;

import java.util.List;

public interface SegmentCacheProducer extends SegmentCacheCommons{
    /**
     * update segment
     * @param segmentName
     * @param toAdd
     * @param toRemove
     */
    void updateSegment(String segmentName, List toAdd, List toRemove, long changeNumber) ;

    /**
     * update the changeNumber of a segment
     * @param segmentName
     * @param changeNumber
     */
    void setChangeNumber(String segmentName, long changeNumber);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy