@Beta
public interface TabletMap
| Modifier and Type | Method and Description |
|---|---|
void |
addTablet(CqlIdentifier keyspace,
CqlIdentifier table,
Tablet tablet)
Adds a single tablet to the map.
|
ConcurrentMap<KeyspaceTableNamePair,ConcurrentSkipListSet<Tablet>> |
getMapping()
Returns mapping from tables to the sets of their tablets.
|
Tablet |
getTablet(CqlIdentifier keyspace,
CqlIdentifier table,
long token)
Returns
Tablet instance |
ConcurrentMap<KeyspaceTableNamePair,ConcurrentSkipListSet<Tablet>> getMapping()
void addTablet(CqlIdentifier keyspace, CqlIdentifier table, Tablet tablet)
keyspace - target keyspacetable - target tabletablet - tablet instance to addTablet getTablet(CqlIdentifier keyspace, CqlIdentifier table, long token)
Tablet instancekeyspace - tablet's keyspacetable - tablet's tabletoken - target tokenTablet responsible for provided token or null if no such tablet is
present.Copyright © 2017–2024. All rights reserved.