| Modifier and Type | Method and Description |
|---|---|
Record<K> |
SubscribedSet.get(K key) |
| Modifier and Type | Method and Description |
|---|---|
Map<K,Record<K>> |
SubscribedSet.cloneMap() |
| Modifier and Type | Method and Description |
|---|---|
void |
SubscribedSet.subscribe(RLPredicate<Record<K>> filter) |
| Modifier and Type | Method and Description |
|---|---|
<K> Record<K> |
RLUtil.buildRecord(Record<K> res,
Object[] keyVals) |
<K> Record<K> |
RLUtil.record(K key,
Object... keyVals) |
static Record |
StorageDriver.unwrap(Record r) |
| Modifier and Type | Method and Description |
|---|---|
void |
StorageDriver.add(Record<K> rec) |
void |
Mutator.add(Record<K> rec) |
void |
StorageDriver.addOrUpdateRec(Record<K> rec) |
void |
Mutator.addOrUpdateRec(Record<K> rec) |
<K> Record<K> |
RLUtil.buildRecord(Record<K> res,
Object[] keyVals) |
boolean |
RLUtil.isEqual(Record rlRec,
Record copy) |
boolean |
RLUtil.isEqual(Record rlRec,
Record copy) |
void |
StorageDriver.put(Record<K> rec) |
void |
Mutator.put(Record<K> rec) |
void |
FilterSpore.remote(Record<K> input) |
static Record |
StorageDriver.unwrap(Record r) |
| Modifier and Type | Method and Description |
|---|---|
org.nustaq.kontraktor.IPromise<Boolean> |
StorageDriver.putCAS(RLPredicate<Record<K>> casCondition,
K key,
Object... keyVals) |
org.nustaq.kontraktor.IPromise<Boolean> |
Mutator.putCAS(RLPredicate<Record<K>> casCondition,
K key,
Object... keyVals) |
| Constructor and Description |
|---|
FilterSpore(RLPredicate<Record<K>> filter) |
FilterSpore(RLPredicate<Record<K>> filter,
RLPredicate<Record<K>> prePatchFilter) |
FilterSpore(RLPredicate<Record<K>> filter,
RLPredicate<Record<K>> prePatchFilter) |
| Modifier and Type | Method and Description |
|---|---|
org.nustaq.kontraktor.IPromise<Record<K>> |
RealLiveTableActor.get(K key) |
org.nustaq.kontraktor.IPromise<Record<K>> |
TableSharding.get(K key) |
| Modifier and Type | Method and Description |
|---|---|
void |
TableSharding.ShardMutation.add(Record<K> rec) |
void |
TableSharding.ShardMutation.addOrUpdateRec(Record<K> rec) |
void |
TableSharding.ShardMutation.put(Record<K> rec) |
| Modifier and Type | Method and Description |
|---|---|
void |
RealLiveTableActor._subscribe(RLPredicate<Record<K>> prePatchFilter,
RLPredicate pred,
org.nustaq.kontraktor.Callback cb,
int id) |
void |
RealLiveTableActor.atomic(K key,
RLConsumer<Record<K>> action) |
void |
TableSharding.atomic(K key,
RLConsumer<Record<K>> action) |
<T> void |
RealLiveTableActor.forEach(org.nustaq.kontraktor.Spore<Record<K>,T> spore) |
<T> void |
TableSharding.forEach(org.nustaq.kontraktor.Spore<Record<K>,T> spore) |
<T> void |
ShardedRecordIterable.forEach(org.nustaq.kontraktor.Spore<Record<K>,T> spore) |
<T> void |
RealLiveTableActor.forEachDirect(org.nustaq.kontraktor.Spore<Record<K>,T> spore) |
org.nustaq.kontraktor.IPromise<Boolean> |
TableSharding.putCAS(RLPredicate<Record<K>> casCondition,
K key,
Object... keyVals) |
org.nustaq.kontraktor.IPromise<Boolean> |
TableSharding.ShardMutation.putCAS(RLPredicate<Record<K>> casCondition,
K key,
Object... keyVals) |
org.nustaq.kontraktor.IPromise<Boolean> |
RealLiveTableActor.putCAS(RLPredicate<Record<K>> casCondition,
K key,
Object[] keyVals) |
| Modifier and Type | Method and Description |
|---|---|
Record<K> |
HeapRecordStorage.get(K key) |
Record<String> |
OffHeapRecordStorage.get(String key) |
Record<String> |
CachedOffHeapStorage.get(String key) |
Record<K> |
HeapRecordStorage.remove(K key) |
Record<String> |
OffHeapRecordStorage.remove(String key) |
Record<String> |
CachedOffHeapStorage.remove(String key) |
| Modifier and Type | Method and Description |
|---|---|
protected org.nustaq.offheap.FSTSerializedOffheapMap<String,Record<String>> |
OffHeapRecordStorage.createMemMap(int sizeMB,
int estimatedNumRecords,
int keyLen) |
protected org.nustaq.offheap.FSTSerializedOffheapMap<String,Record<String>> |
OffHeapRecordStorage.createPersistentMap(String tableFile,
int sizeMB,
int estimatedNumRecords,
int keyLen) |
Map<K,Record<K>> |
HeapRecordStorage.getMap() |
Stream<Record<String>> |
OffHeapRecordStorage.stream() |
Stream<Record<String>> |
CachedOffHeapStorage.stream() |
Stream<Record<K>> |
HeapRecordStorage.stream() |
| Modifier and Type | Method and Description |
|---|---|
RecordStorage |
HeapRecordStorage.put(K key,
Record<K> value) |
RecordStorage |
OffHeapRecordStorage.put(String key,
Record<String> value) |
RecordStorage |
CachedOffHeapStorage.put(String key,
Record<String> value) |
| Modifier and Type | Method and Description |
|---|---|
<T> void |
HeapRecordStorage.forEach(org.nustaq.kontraktor.Spore<Record<K>,T> spore) |
<T> void |
OffHeapRecordStorage.forEach(org.nustaq.kontraktor.Spore<Record<String>,T> spore) |
<T> void |
CachedOffHeapStorage.forEach(org.nustaq.kontraktor.Spore<Record<String>,T> spore) |
| Modifier and Type | Method and Description |
|---|---|
default Record<K> |
Record.copied() |
Record<K> |
RecordStorage.get(K key) |
default Record<K> |
ChangeMessage.getRecord() |
Record |
Record.put(String field,
Object value) |
default Record<K> |
Record.reduced(String[] reducedFields) |
Record<K> |
RecordStorage.remove(K key) |
| Modifier and Type | Method and Description |
|---|---|
org.nustaq.kontraktor.IPromise<Record<K>> |
AsyncKV.get(K key) |
RLPredicate<Record<K>> |
Subscriber.getFilter() |
RLPredicate<Record<K>> |
Subscriber.getPrePatchFilter() |
Stream<Record<K>> |
RecordStorage.stream() |
| Modifier and Type | Method and Description |
|---|---|
void |
Mutation.add(Record<K> rec) |
void |
Mutation.addOrUpdateRec(Record<K> rec) |
default void |
Mutation.put(K key,
Record rec) |
RecordStorage |
RecordStorage.put(K key,
Record<K> value) |
void |
Mutation.put(Record<K> rec) |
| Modifier and Type | Method and Description |
|---|---|
void |
RealLiveTable.atomic(K key,
RLConsumer<Record<K>> action) |
default void |
RealLiveStreamActor.filter(RLPredicate<Record<K>> predicate,
org.nustaq.kontraktor.Callback<Record<K>> cb) |
default void |
RealLiveStreamActor.filter(RLPredicate<Record<K>> predicate,
org.nustaq.kontraktor.Callback<Record<K>> cb) |
default void |
RealLiveStreamActor.filterPP(RLPredicate<Record<K>> prePatch,
RLPredicate<Record<K>> predicate,
org.nustaq.kontraktor.Callback<Record<K>> cb) |
default void |
RealLiveStreamActor.filterPP(RLPredicate<Record<K>> prePatch,
RLPredicate<Record<K>> predicate,
org.nustaq.kontraktor.Callback<Record<K>> cb) |
default void |
RealLiveStreamActor.filterPP(RLPredicate<Record<K>> prePatch,
RLPredicate<Record<K>> predicate,
org.nustaq.kontraktor.Callback<Record<K>> cb) |
<T> void |
RealLiveStreamActor.forEach(org.nustaq.kontraktor.Spore<Record<K>,T> spore) |
org.nustaq.kontraktor.IPromise<Boolean> |
Mutation.putCAS(RLPredicate<Record<K>> casCondition,
K key,
Object... keyVals)
FIXME: does not trigger a change notification !
|
org.nustaq.kontraktor.IPromise<Boolean> |
RealLiveTable.putCAS(RLPredicate<Record<K>> casCondition,
K key,
Object[] keyVals) |
default void |
RealLiveStreamActor.query(String query,
org.nustaq.kontraktor.Callback<Record<K>> cb) |
default Subscriber<K> |
ChangeStream.subscribeOn(RLPredicate<Record<K>> filter,
ChangeReceiver<K> receiver) |
default Subscriber<K> |
ChangeStream.subscribeOn(RLPredicate<Record<K>> prePatchfilter,
RLPredicate<Record<K>> filter,
ChangeReceiver<K> receiver) |
default Subscriber<K> |
ChangeStream.subscribeOn(RLPredicate<Record<K>> prePatchfilter,
RLPredicate<Record<K>> filter,
ChangeReceiver<K> receiver) |
| Constructor and Description |
|---|
Subscriber(RLPredicate<Record<K>> prepatch,
RLPredicate<Record<K>> filter,
ChangeReceiver<K> receiver) |
Subscriber(RLPredicate<Record<K>> prepatch,
RLPredicate<Record<K>> filter,
ChangeReceiver<K> receiver) |
| Modifier and Type | Method and Description |
|---|---|
Record<K> |
UpdateMessage.getNewRecord() |
Record<K> |
PutMessage.getRecord() |
Record<K> |
AddMessage.getRecord() |
Record<K> |
RemoveMessage.getRecord() |
| Modifier and Type | Method and Description |
|---|---|
static void |
ChangeUtils.copy(Record from,
Record to,
String... fields) |
static void |
ChangeUtils.copy(Record from,
Record to,
String... fields) |
static Diff |
ChangeUtils.copyAndDiff(Record from,
Record to)
copy different (equals) fields and return resulting list of changed fields + old values
|
static Diff |
ChangeUtils.copyAndDiff(Record from,
Record to)
copy different (equals) fields and return resulting list of changed fields + old values
|
static Diff |
ChangeUtils.copyAndDiff(Record from,
Record to,
String[] fields) |
static Diff |
ChangeUtils.copyAndDiff(Record from,
Record to,
String[] fields) |
static <K> Diff |
ChangeUtils.diff(Record<K> record,
Record<K> prevRecord) |
static <K> Diff |
ChangeUtils.diff(Record<K> record,
Record<K> prevRecord) |
static Diff |
ChangeUtils.mayCopyAndDiff(Record from,
Record to,
String[] fields,
boolean copy) |
static Diff |
ChangeUtils.mayCopyAndDiff(Record from,
Record to,
String[] fields,
boolean copy) |
| Constructor and Description |
|---|
AddMessage(boolean updateIfExisting,
Record<K> record) |
AddMessage(Record<K> record) |
PutMessage(Record<K> record) |
RemoveMessage(Record<K> rec) |
UpdateMessage(Diff diff,
Record<K> newRecord) |
UpdateMessage(Diff diff,
Record<K> newRecord,
boolean addIfNotExists) |
| Modifier and Type | Class and Description |
|---|---|
class |
MapRecord<K>
Created by ruedi on 04.08.2015.
|
class |
PatchingRecord
Created by ruedi on 10.01.16.
|
class |
RecordWrapper<K>
Created by ruedi on 22/08/15.
|
| Modifier and Type | Field and Description |
|---|---|
protected Record<K> |
RecordWrapper.record |
| Modifier and Type | Method and Description |
|---|---|
Record<K> |
RecordWrapper.getRecord() |
Record |
PatchingRecord.put(String field,
Object value) |
Record |
RecordWrapper.put(String field,
Object value) |
<K> Record<K> |
PatchingRecord.unwrapOrCopy() |
| Modifier and Type | Method and Description |
|---|---|
<K> void |
PatchingRecord.reset(Record<K> input) |
static <T> RecordWrapper<T> |
RecordWrapper.Wrap(Record<T> rec) |
| Constructor and Description |
|---|
PatchingRecord(Record record) |
RecordWrapper(Record<K> record) |
Copyright © 2016. All rights reserved.