org.boon.slumberdb.KeyValueStoreWithVersion Maven / Gradle / Ivy
package org.boon.slumberdb;
import org.boon.slumberdb.entries.*;
import java.util.Collection;
import java.util.List;
/**
* Created by Richard on 9/23/14.
*/
public interface KeyValueStoreWithVersion > extends KeyValueStore{
LoadedEntry load(String key, long version);
UpdateStatus put(String key, long version, O value);
void set(K key, O value);
O get(K key);
UpdateStatus put(String key, long version, long updatedTime, O value);
UpdateStatus put(VersionKey key, O value);
Collection putAll(List> list);
}