public class TableSpaceActor extends org.nustaq.kontraktor.Actor<TableSpaceActor> implements TableSpace
__cbQueue, __clientConnection, __connections, __currentDispatcher, __mailbox, __mailboxCapacity, __mbCapacity, __publishTarget, __remoteId, __scheduler, __self, __stopped, __ticketMachine, connection, sender, userData, zzRoutingGCEnabled, zzServerMsgCallbackCONT, DEFAULT_TIMOUT, defaultScheduler, delayedCalls, exec, instance, MAX_EXTERNAL_THREADS_POOL_SIZE, versionUSE_BASE_DIR| Constructor and Description |
|---|
TableSpaceActor() |
| Modifier and Type | Method and Description |
|---|---|
org.nustaq.kontraktor.IPromise<RealLiveTable> |
createOrLoadTable(TableDescription desc) |
org.nustaq.kontraktor.IPromise |
dropTable(String name) |
protected String |
getBaseDir() |
org.nustaq.kontraktor.IPromise<RealLiveTable> |
getTableAsync(String name) |
org.nustaq.kontraktor.IPromise<List<TableDescription>> |
getTableDescriptions() |
org.nustaq.kontraktor.IPromise<List<RealLiveTable>> |
getTables() |
void |
init() |
void |
setBaseDataDir(String dir)
overrides setting in table description if set
|
org.nustaq.kontraktor.IPromise |
shutDown() |
void |
stateListener(org.nustaq.kontraktor.Callback<StateMessage> stateListener) |
__addDeadLetter, __addRemoteConnection, __addStopHandler, __dispatchRemoteCall, __enqueueCall, __getCachedMethod, __removeRemoteConnection, __stop, __stopImpl, __submit, ask, askMsg, asyncstop, checkThread, close, closeCurrentClient, current, cyclic, debounce, 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 void init()
public void setBaseDataDir(String dir)
dir - protected String getBaseDir()
public org.nustaq.kontraktor.IPromise<RealLiveTable> createOrLoadTable(TableDescription desc)
createOrLoadTable in interface TableSpacepublic org.nustaq.kontraktor.IPromise dropTable(String name)
dropTable in interface TableSpacepublic org.nustaq.kontraktor.IPromise<List<TableDescription>> getTableDescriptions()
getTableDescriptions in interface TableSpacepublic org.nustaq.kontraktor.IPromise<List<RealLiveTable>> getTables()
getTables in interface TableSpacepublic org.nustaq.kontraktor.IPromise<RealLiveTable> getTableAsync(String name)
getTableAsync in interface TableSpacepublic org.nustaq.kontraktor.IPromise shutDown()
shutDown in interface TableSpacepublic void stateListener(org.nustaq.kontraktor.Callback<StateMessage> stateListener)
stateListener in interface TableSpaceCopyright © 2019. All rights reserved.