org.accidia.echo.services.IObjectsService Maven / Gradle / Ivy
package org.accidia.echo.services;
import com.google.common.util.concurrent.ListenableFuture;
import com.google.protobuf.Message;
import java.util.List;
import java.util.Map;
/**
* Objects Services provides functionality to work with Protobuf objects.
*/
public interface IObjectsService {
/**
* Find the object for the given tenant for the given key.
*
* @param key key for object
* @return value associated to key in the given namespace
*/
ListenableFuture getObject(final String key);
/**
* Find all objects for the given set of keys.
*
* @param keysList list of keys
* @return map of key to objects, one entry for each key in parameters
*/
ListenableFuture