public class MongoMapState<T> extends Object implements IBackingMap<T>
Modifier and Type | Class and Description |
---|---|
protected static class |
MongoMapState.Factory |
static class |
MongoMapState.Options<T> |
Modifier | Constructor and Description |
---|---|
protected |
MongoMapState(Map<String,Object> map,
MongoMapState.Options options) |
Modifier and Type | Method and Description |
---|---|
List<T> |
multiGet(List<List<Object>> keysList) |
void |
multiPut(List<List<Object>> keysList,
List<T> values) |
static StateFactory |
nonTransactional() |
static StateFactory |
nonTransactional(MongoMapState.Options<Object> opts) |
static StateFactory |
opaque() |
static StateFactory |
opaque(MongoMapState.Options<OpaqueValue> opts) |
static StateFactory |
transactional() |
static StateFactory |
transactional(MongoMapState.Options<TransactionalValue> opts) |
protected MongoMapState(Map<String,Object> map, MongoMapState.Options options)
public static StateFactory opaque()
public static StateFactory opaque(MongoMapState.Options<OpaqueValue> opts)
public static StateFactory transactional()
public static StateFactory transactional(MongoMapState.Options<TransactionalValue> opts)
public static StateFactory nonTransactional()
public static StateFactory nonTransactional(MongoMapState.Options<Object> opts)
public List<T> multiGet(List<List<Object>> keysList)
multiGet
in interface IBackingMap<T>
Copyright © 2019 The Apache Software Foundation. All rights reserved.