public interface IObjectsService
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Message> |
getObject(String key)
Find the object for the given tenant for the given key.
|
com.google.common.util.concurrent.ListenableFuture<List<String>> |
getObjectList(String listKey,
int start,
int count)
Get list of object keys
|
com.google.common.util.concurrent.ListenableFuture<Map<String,com.google.protobuf.Message>> |
getObjects(List<String> keysList)
Find all objects for the given set of keys.
|
com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Message> |
getPartialObject(String key,
List<String> fields)
Find an object and only return the specified fields.
|
com.google.common.util.concurrent.ListenableFuture<Map<String,com.google.protobuf.Message>> |
getPartialObjects(List<String> keys,
List<String> fields)
Get partial objects associated to the given set of keys.
|
com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Message> |
storeObject(String key,
com.google.protobuf.Message object)
Store an object with the given key.
|
com.google.common.util.concurrent.ListenableFuture<List<com.google.protobuf.Message>> |
storeObjects(Map<String,com.google.protobuf.Message> keysToObjectsMap)
Store set of objects.
|
com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Message> getObject(String key)
key - key for objectcom.google.common.util.concurrent.ListenableFuture<Map<String,com.google.protobuf.Message>> getObjects(List<String> keysList)
keysList - list of keyscom.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Message> getPartialObject(String key, List<String> fields)
key - object keyfields - fields to returncom.google.common.util.concurrent.ListenableFuture<List<String>> getObjectList(String listKey, int start, int count)
start - starting indexcount - number of objectslistKey - key associated to the listcom.google.common.util.concurrent.ListenableFuture<Map<String,com.google.protobuf.Message>> getPartialObjects(List<String> keys, List<String> fields)
keys - list of keysfields - list of fieldscom.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Message> storeObject(String key, com.google.protobuf.Message object)
key - the keyobject - the object to be storedcom.google.common.util.concurrent.ListenableFuture<List<com.google.protobuf.Message>> storeObjects(Map<String,com.google.protobuf.Message> keysToObjectsMap)
keysToObjectsMap - map of keys to objects to be storedCopyright © 2015. All rights reserved.