Interface TabletBalancer.BalanceParameters
- Enclosing interface:
- TabletBalancer
public static interface TabletBalancer.BalanceParameters
An interface for grouping parameters required for the balancer to balance tablets. This
interface allows for evolution of the parameter set without changing the balancer's method
signature.
- Since:
- 2.1.0
-
Method Summary
Modifier and TypeMethodDescription
-
Method Details
-
currentStatus
SortedMap<TabletServerId,TServerStatus> currentStatus()- Returns:
- the current status for all tablet servers (read-only)
-
currentMigrations
- Returns:
- the migrations that are currently in progress (read-only)
-
migrationsOut
List<TabletMigration> migrationsOut()- Returns:
- a write-only map for storing new assignments made by the balancer. It is important
that any tablets found in
currentMigrations()
are not included in the output migrations.
-