public interface RealLiveTable extends SafeRealLiveTable, ChangeStream, RealLiveStreamActor
| Modifier and Type | Method and Description |
|---|---|
org.nustaq.kontraktor.IPromise |
atomic(String key,
RLFunction<Record,Object> action)
apply the function to the record with given key and return the result inside a promise
changes to the record inside the function are applied to the real record and a change message
is generated.
|
void |
atomicUpdate(RLPredicate<Record> filter,
RLFunction<Record,Boolean> action)
mass update.
|
add, addRecord, get, getDescription, getStats, merge, mergeRecord, ping, put, remove, resizeIfLoadFactorLarger, setRecord, size, stop, take, updatereceivesubscribe, subscribeOn, subscribeOn, unsubscribeforEach, forEachWithSpore, map, queryorg.nustaq.kontraktor.IPromise atomic(String key, RLFunction<Record,Object> action)
key - action - void atomicUpdate(RLPredicate<Record> filter, RLFunction<Record,Boolean> action)
filter - - selects recordsaction - - function, the function might modify the record using putField. If false is returned, the record is deletedCopyright © 2017. All rights reserved.