public class TransactionalMap<T> extends Object implements MapState<T>
Modifier | Constructor and Description |
---|---|
protected |
TransactionalMap(IBackingMap<TransactionalValue> backing) |
Modifier and Type | Method and Description |
---|---|
void |
beginCommit(Long txid) |
static <T> MapState<T> |
build(IBackingMap<TransactionalValue> backing) |
void |
commit(Long txid) |
List<T> |
multiGet(List<List<Object>> keys) |
void |
multiPut(List<List<Object>> keys,
List<T> vals) |
List<T> |
multiUpdate(List<List<Object>> keys,
List<ValueUpdater> updaters) |
protected TransactionalMap(IBackingMap<TransactionalValue> backing)
public static <T> MapState<T> build(IBackingMap<TransactionalValue> backing)
public List<T> multiGet(List<List<Object>> keys)
multiGet
in interface ReadOnlyMapState<T>
public List<T> multiUpdate(List<List<Object>> keys, List<ValueUpdater> updaters)
multiUpdate
in interface MapState<T>
public void beginCommit(Long txid)
beginCommit
in interface State
Copyright © 2022 The Apache Software Foundation. All rights reserved.