public class TableSpaceActor extends org.nustaq.kontraktor.Actor<TableSpaceActor> implements TableSpace
__cbQueue, __clientConnection, __connections, __currentDispatcher, __mailbox, __mailboxCapacity, __mbCapacity, __remoteId, __scheduler, __self, __stopped, __throwExAtBlock, __ticketMachine, connection, senderCONT, DEFAULT_TIMOUT, defaultScheduler, delayedCalls, exec, instance, MAX_EXTERNAL_THREADS_POOL_SIZEUSE_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> |
getTable(String name) |
org.nustaq.kontraktor.IPromise<List<TableDescription>> |
getTableDescriptions() |
org.nustaq.kontraktor.IPromise<List<RealLiveTable>> |
getTables() |
void |
init(int numScanThreads,
int numFilterThreads) |
void |
initWitAllOptions(int numScanThreads,
int numFilterThreads,
int scanQSize,
int filterQSize) |
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, __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, hasStopped, 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, yieldCallbackspublic void init(int numScanThreads,
int numFilterThreads)
public void initWitAllOptions(int numScanThreads,
int numFilterThreads,
int scanQSize,
int filterQSize)
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> getTable(String name)
getTable in interface TableSpacepublic org.nustaq.kontraktor.IPromise shutDown()
shutDown in interface TableSpacepublic void stateListener(org.nustaq.kontraktor.Callback<StateMessage> stateListener)
stateListener in interface TableSpaceCopyright © 2015. All rights reserved.