Package org.nustaq.reallive.client
Class DynShardedTable
java.lang.Object
org.nustaq.reallive.client.ShardedTable
org.nustaq.reallive.client.DynShardedTable
- All Implemented Interfaces:
java.io.Serializable,ChangeReceiver,ChangeStream,RealLiveStreamActor,RealLiveTable,SafeChangeStream,SafeRealLiveStreamActor,SafeRealLiveTable
public class DynShardedTable extends ShardedTable
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class org.nustaq.reallive.client.ShardedTable
description, DUMP_IN_PROC_CHANGES, globalListenReady, proc, shards, tableShardMap -
Constructor Summary
Constructors Constructor Description DynShardedTable(RealLiveTable[] shards, TableDescription desc, java.util.function.Supplier<DynClusterTableDistribution> tableDistributionSupplier) -
Method Summary
Modifier and Type Method Description protected RealLiveTablegetTableForKey(java.lang.String key)Methods inherited from class org.nustaq.reallive.client.ShardedTable
_deepMerge, add, addNode, addRecord, adjustLimitFilter, atomic, atomicUpdate, forEachWithSpore, get, getDescription, getStats, merge, mergeRecord, ping, put, realUnsubscribe, receive, remove, removeNode, removeTableShard, resizeIfLoadFactorLarger, setRecord, size, stop, subscribe, take, unsubscribe, unsubscribeById, updateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.nustaq.reallive.api.ChangeStream
listen, observe, subscribeOn, subscribeOnMethods inherited from interface org.nustaq.reallive.api.RealLiveStreamActor
forEach, forEach, map, query
-
Constructor Details
-
DynShardedTable
public DynShardedTable(RealLiveTable[] shards, TableDescription desc, java.util.function.Supplier<DynClusterTableDistribution> tableDistributionSupplier)
-
-
Method Details
-
getTableForKey
- Overrides:
getTableForKeyin classShardedTable
-