public class DataClient<T extends DataClient>
extends org.nustaq.reallive.impl.tablespace.ClusteredTableSpaceClient<T>
tableSharding__cbQueue, __clientConnection, __connections, __currentDispatcher, __mailbox, __mailboxCapacity, __mbCapacity, __publishTarget, __remoteId, __scheduler, __self, __stopped, __ticketMachine, connection, sender, userData, zzRoutingGCEnabled, zzServerMsgCallback| Constructor and Description |
|---|
DataClient() |
| Modifier and Type | Method and Description |
|---|---|
org.nustaq.kontraktor.IPromise |
connect(DataCfg config,
org.nustaq.reallive.impl.tablespace.TableSpaceActor[] shards,
ServiceActor hostingService) |
org.nustaq.kontraktor.IPromise |
export(String directory) |
org.nustaq.kontraktor.IPromise<Integer> |
getNoShards() |
org.nustaq.reallive.api.RealLiveTable |
getTable(String name) |
void |
processSharded(String tableName,
org.nustaq.reallive.api.RLPredicate<org.nustaq.reallive.api.Record> predicate,
int shardNo,
org.nustaq.kontraktor.Callback<org.nustaq.reallive.api.Record> cb) |
org.nustaq.reallive.api.RealLiveTable |
tbl(String name)
shorthand for getTable
|
createOrLoadTable, dropTable, getStats, getTableAsync, getTableDescriptions, getTables, shutDown, stateListener__addDeadLetter, __addRemoteConnection, __addStopHandler, __dispatchRemoteCall, __enqueueCall, __getCachedMethod, __removeRemoteConnection, __stop, __stopImpl, __submit, ask, askMsg, asyncstop, checkThread, close, closeCurrentClient, current, cyclic, delayed, execInThreadPool, execute, getActor, getActorRef, getCallbackSize, getConnections, getCurrentDispatcher, getFactory, getMailboxSize, getQSizes, getReport, getScheduler, getSubMonitorables, getUntypedRef, hasStopped, inside, inThread, isCallbackQPressured, isEmpty, isMailboxPressured, isProxy, isPublished, isRemote, isStopped, ping, router$clientPing, self, serialOn, setServerMsgCallback, stop, stopSafeClose, tell, tellMsg, unpublish, zzkrouterLostClient, zzRoutingRefGCAddDeadLetter, all, all, all, allMapped, AsActor, AsActor, AsActor, AsActor, AsUntypedActor, awaitAll, awaitAll, awaitAll, awaitAll, complete, complete, DeadLetters, flow, InThread, isComplete, isCont, isError, isErrorOrComplete, isResult, isTimeout, promise, race, race, reject, resolve, resolve, stream, SubmitDelayed, yield, yield, yieldCallbackspublic org.nustaq.kontraktor.IPromise connect(DataCfg config, org.nustaq.reallive.impl.tablespace.TableSpaceActor[] shards, ServiceActor hostingService)
public org.nustaq.reallive.api.RealLiveTable getTable(String name)
public org.nustaq.reallive.api.RealLiveTable tbl(String name)
name - public org.nustaq.kontraktor.IPromise export(String directory)
directory - public org.nustaq.kontraktor.IPromise<Integer> getNoShards()
public void processSharded(String tableName, org.nustaq.reallive.api.RLPredicate<org.nustaq.reallive.api.Record> predicate, int shardNo, org.nustaq.kontraktor.Callback<org.nustaq.reallive.api.Record> cb)
Copyright © 2018. All rights reserved.