Interface CompactionPlanner.InitParameters
- Enclosing interface:
- CompactionPlanner
public static interface CompactionPlanner.InitParameters
This interface exists so the API can evolve and additional parameters can be passed to the
method in the future.
- Since:
- 2.1.0
-
Method Summary
Modifier and TypeMethodDescription
-
Method Details
-
getServiceEnvironment
ServiceEnvironment getServiceEnvironment() -
getOptions
- Returns:
- The configured options. For example if the system properties
tserver.compaction.major.service.s1.planner.opts.p1=abcandtserver.compaction.major.service.s1.planner.opts.p9=123were set, then this map would containp1=abcandp9=123. In this examples1is the identifier for the compaction service. Each compaction service has a single planner.
-
getFullyQualifiedOption
- Returns:
- For a given key from the map returned by
getOptions()determines the fully qualified tablet property for that key. For example if a planner was being initialized for compaction serviceCS9and this method were passedprop1then it would returntserver.compaction.major.service.CS9.planner.opts.prop1.
-
getExecutorManager
ExecutorManager getExecutorManager()- Returns:
- an execution manager that can be used to created thread pools within a compaction service.
-