public class TableSpaceSharding extends Object implements TableSpace
USE_BASE_DIR| Constructor and Description |
|---|
TableSpaceSharding(TableSpaceActor[] shards,
ShardFunc func) |
| Modifier and Type | Method and Description |
|---|---|
org.nustaq.kontraktor.IPromise<RealLiveTable> |
createOrLoadTable(TableDescription desc) |
org.nustaq.kontraktor.IPromise |
dropTable(String name) |
List<StorageStats> |
getStats() |
org.nustaq.kontraktor.IPromise<RealLiveTable> |
getTable(String name) |
org.nustaq.kontraktor.IPromise<List<TableDescription>> |
getTableDescriptions() |
org.nustaq.kontraktor.IPromise<List<RealLiveTable>> |
getTables() |
org.nustaq.kontraktor.IPromise |
init() |
org.nustaq.kontraktor.IPromise |
shutDown() |
void |
stateListener(org.nustaq.kontraktor.Callback<StateMessage> stateListener) |
public TableSpaceSharding(TableSpaceActor[] shards, ShardFunc func)
public org.nustaq.kontraktor.IPromise init()
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 List<StorageStats> getStats()
public 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 © 2016. All rights reserved.