public class RealLiveStreamActor<K> extends org.nustaq.kontraktor.Actor<RealLiveStreamActor<K>> implements RealLiveTable<K>, Mutatable<K>
| Constructor and Description |
|---|
RealLiveStreamActor() |
| Modifier and Type | Method and Description |
|---|---|
void |
_subscribe(RLPredicate pred,
org.nustaq.kontraktor.Callback cb,
int id) |
void |
_unsubscribe(org.nustaq.kontraktor.Callback cb,
int id) |
protected String |
addChannelIdIfPresent(org.nustaq.kontraktor.Callback cb,
String sid) |
<T> void |
forEach(org.nustaq.kontraktor.Spore<Record<K>,T> spore) |
org.nustaq.kontraktor.IPromise<Record<K>> |
get(K key) |
org.nustaq.kontraktor.IPromise<TableDescription> |
getDescription() |
Mutation<K> |
getMutation() |
org.nustaq.kontraktor.IPromise<StorageStats> |
getStats() |
protected void |
hasStopped() |
void |
init(Supplier<RecordStorage<K>> storeFactory,
org.nustaq.kontraktor.Scheduler filterScheduler,
TableDescription desc) |
org.nustaq.kontraktor.IPromise<Boolean> |
putCAS(RLPredicate<Record<K>> casCondition,
K key,
Object[] keyVals) |
void |
receive(ChangeMessage<K> change) |
org.nustaq.kontraktor.IPromise<Long> |
size() |
void |
subscribe(Subscriber<K> subs) |
void |
unsubscribe(Subscriber<K> subs) |
__addDeadLetter, __addRemoteConnection, __addStopHandler, __enqueueCall, __getCachedMethod, __removeRemoteConnection, __stop, __submit, ask, asyncstop, checkThread, close, closeCurrentClient, current, delayed, exec, execute, getActor, getActorRef, getCallbackSize, getConnections, getCurrentDispatcher, getFactory, getMailboxSize, getQSizes, getReport, getScheduler, getSubMonitorables, getThrowExWhenBlocked, inside, inThread, isCallbackQPressured, isMailboxPressured, isProxy, isPublished, isRemote, isStopped, ping, self, serialOn, setThrowExWhenBlocked, stop, stopSafeClose, tellAddDeadLetter, all, all, all, AsActor, AsActor, AsActor, AsActor, awaitAll, awaitAll, awaitAll, awaitAll, complete, complete, DeadLetters, InThread, isComplete, isCont, isError, isErrorOrComplete, isResult, isTimeout, race, race, reject, resolve, resolve, stream, SubmitDelayed, yield, yield, yieldCallbacksclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitping, stopfilter, querysubscribeOn, subscribeOnpublic void init(Supplier<RecordStorage<K>> storeFactory, org.nustaq.kontraktor.Scheduler filterScheduler, TableDescription desc)
public void receive(ChangeMessage<K> change)
receive in interface ChangeReceiver<K>public <T> void forEach(org.nustaq.kontraktor.Spore<Record<K>,T> spore)
forEach in interface RecordIterable<K>protected void hasStopped()
hasStopped in class org.nustaq.kontraktor.Actor<RealLiveStreamActor<K>>public void subscribe(Subscriber<K> subs)
subscribe in interface ChangeStream<K>public void _subscribe(RLPredicate pred, org.nustaq.kontraktor.Callback cb, int id)
protected String addChannelIdIfPresent(org.nustaq.kontraktor.Callback cb, String sid)
public void unsubscribe(Subscriber<K> subs)
unsubscribe in interface ChangeStream<K>public void _unsubscribe(org.nustaq.kontraktor.Callback cb,
int id)
public Mutation<K> getMutation()
getMutation in interface Mutatable<K>public org.nustaq.kontraktor.IPromise<TableDescription> getDescription()
getDescription in interface RealLiveTable<K>public org.nustaq.kontraktor.IPromise<StorageStats> getStats()
getStats in interface RealLiveTable<K>public org.nustaq.kontraktor.IPromise<Boolean> putCAS(RLPredicate<Record<K>> casCondition, K key, Object[] keyVals)
putCAS in interface RealLiveTable<K>Copyright © 2015. All rights reserved.