ar.com.siripo.arcache.backend.ArcacheBackendClient Maven / Gradle / Ivy
package ar.com.siripo.arcache.backend;
import java.util.concurrent.Future;
public interface ArcacheBackendClient {
/**
* The expected behavior is that asyncSet returns a Future.
*
* If the value can not be serialized IllegalArgumentException is thrown.
*
* If the key is invalid IllegalArgumentException is thrown
*
* @param key
* @param ttlSeconds time to live in seconds of the stored object
* @param value
* @return
*/
public Future asyncSet(String key, int ttlSeconds, Object value);
public Future