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

com.castle.store.WritableKeyStore Maven / Gradle / Ivy

There is a newer version: 2.0.3
Show newest version
package com.castle.store;

import com.castle.store.exceptions.StoreException;

import java.util.Collection;
import java.util.Map;
import java.util.Optional;

public interface WritableKeyStore {

    Optional store(K key, V value) throws StoreException;
    void storeAll(Map values) throws StoreException;

    boolean delete(K key) throws StoreException;
    boolean deleteAll(Collection keys) throws StoreException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy