Interface CompactionDispatcher
-
- All Known Implementing Classes:
SimpleCompactionDispatcher
public interface CompactionDispatcherCan be configured per table to dispatch compactions to different compaction services. For a given table the dispatcher can choose a different compaction service for each kind of compaction. For example, user and chop compactions could be dispatched to service_A while system compactions are dispatched to service_B.- Since:
- 2.1.0
- See Also:
org.apache.accumulo.core.spi.compaction
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceCompactionDispatcher.DispatchParametersThe method parameters fordispatch(DispatchParameters).static interfaceCompactionDispatcher.InitParametersThe method parameters forinit(InitParameters).
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CompactionDispatchdispatch(CompactionDispatcher.DispatchParameters params)Accumulo calls this method for compactions to determine what service to use.default voidinit(CompactionDispatcher.InitParameters params)This method is called once after a CompactionDispatcher is instantiated.
-
-
-
Method Detail
-
init
default void init(CompactionDispatcher.InitParameters params)
This method is called once after a CompactionDispatcher is instantiated.
-
dispatch
CompactionDispatch dispatch(CompactionDispatcher.DispatchParameters params)
Accumulo calls this method for compactions to determine what service to use.
-
-