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

tech.rsqn.cacheservice.CacheService Maven / Gradle / Ivy

package tech.rsqn.cacheservice;

import tech.rsqn.cacheservice.support.CacheIteratorCallBack;

import java.io.Serializable;


public interface CacheService {

     void put(String key, V value);


     void putWithTTL(String key, V value, long ttlMs);

     V get(String key);

    int remove(String key);

    boolean containsKey(String key);

     boolean containsValue(V value);

    void iterateThroughKeys(CacheIteratorCallBack callBack);

    long count();


    long clear();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy