public abstract class AsyncClusteringService extends HoodieAsyncService
| Constructor and Description |
|---|
AsyncClusteringService(AbstractHoodieWriteClient writeClient) |
AsyncClusteringService(AbstractHoodieWriteClient writeClient,
boolean runInDaemonMode) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract AbstractClusteringClient |
createClusteringClient(AbstractHoodieWriteClient client) |
protected Pair<CompletableFuture,ExecutorService> |
startService()
Start clustering service.
|
void |
updateWriteClient(AbstractHoodieWriteClient writeClient)
Update the write client to be used for clustering.
|
enqueuePendingAsyncServiceInstant, isRunInDaemonMode, isShutdown, isShutdownRequested, shutdown, start, waitForShutdown, waitTillPendingAsyncServiceInstantsReducesTopublic AsyncClusteringService(AbstractHoodieWriteClient writeClient)
public AsyncClusteringService(AbstractHoodieWriteClient writeClient, boolean runInDaemonMode)
protected abstract AbstractClusteringClient createClusteringClient(AbstractHoodieWriteClient client)
protected Pair<CompletableFuture,ExecutorService> startService()
startService in class HoodieAsyncServicepublic void updateWriteClient(AbstractHoodieWriteClient writeClient)
Copyright © 2022 The Apache Software Foundation. All rights reserved.