Package org.nustaq.reallive.client
Class ClusteredTableSpaceClient<T extends ClusteredTableSpaceClient>
java.lang.Object
org.nustaq.kontraktor.Actors
org.nustaq.kontraktor.Actor<T>
org.nustaq.reallive.client.ClusteredTableSpaceClient<T>
- All Implemented Interfaces:
java.io.Serializable,java.util.concurrent.Executor,org.nustaq.kontraktor.monitoring.Monitorable,TableSpace
public class ClusteredTableSpaceClient<T extends ClusteredTableSpaceClient> extends org.nustaq.kontraktor.Actor<T> implements TableSpace
Makes an actor out of TableSpaceSharding by wrapping it. Runs client side.
- See Also:
- Serialized Form
-
Nested Class Summary
-
Field Summary
Fields Modifier and Type Field Description protected TableSpaceShardingtableSpaceShardingFields inherited from class org.nustaq.kontraktor.Actor
__cbQueue, __clientConnection, __connections, __currentDispatcher, __mailbox, __mailboxCapacity, __mbCapacity, __publishTarget, __remoteId, __scheduler, __self, __stopped, __ticketMachine, connection, sender, userData, zzRoutingGCEnabled, zzServerMsgCallback -
Constructor Summary
Constructors Constructor Description ClusteredTableSpaceClient() -
Method Summary
Modifier and Type Method Description org.nustaq.kontraktor.IPromise<RealLiveTable>createOrLoadTable(TableDescription desc)org.nustaq.kontraktor.IPromisedropTable(java.lang.String name)org.nustaq.kontraktor.IPromise<java.util.List<StorageStats>>getStats()org.nustaq.kontraktor.IPromise<RealLiveTable>getTableAsync(java.lang.String name)org.nustaq.kontraktor.IPromise<java.util.List<TableDescription>>getTableDescriptions()org.nustaq.kontraktor.IPromise<java.util.List<RealLiveTable>>getTables()org.nustaq.kontraktor.IPromiseshutDown()voidstateListener(org.nustaq.kontraktor.Callback<StateMessage> stateListener)Methods inherited from class org.nustaq.kontraktor.Actor
__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, zzRoutingRefGCMethods inherited from class org.nustaq.kontraktor.Actors
AddDeadLetter, all, all, all, allMapped, AsActor, AsActor, AsActor, AsActor, AsUntypedActor, awaitAll, awaitAll, awaitAll, awaitAll, complete, complete, DeadLetters, flow, InThread, isComplete, isCont, isError, isErrorOrComplete, isResult, isTimeout, kYield, kYield, promise, race, race, reject, resolve, resolve, stream, SubmitDelayed, yieldCallbacks
-
Field Details
-
Constructor Details
-
ClusteredTableSpaceClient
public ClusteredTableSpaceClient()
-
-
Method Details
-
createOrLoadTable
- Specified by:
createOrLoadTablein interfaceTableSpace
-
dropTable
public org.nustaq.kontraktor.IPromise dropTable(java.lang.String name)- Specified by:
dropTablein interfaceTableSpace
-
getTableDescriptions
- Specified by:
getTableDescriptionsin interfaceTableSpace
-
getStats
-
getTables
- Specified by:
getTablesin interfaceTableSpace
-
getTableAsync
- Specified by:
getTableAsyncin interfaceTableSpace
-
shutDown
public org.nustaq.kontraktor.IPromise shutDown()- Specified by:
shutDownin interfaceTableSpace
-
stateListener
- Specified by:
stateListenerin interfaceTableSpace
-