@Internal public class PeriodicMaterializationManager extends Object implements Closeable
Modifier and Type | Class and Description |
---|---|
static class |
PeriodicMaterializationManager.MaterializationRunnable
A
Runnable representing the materialization and the associated metadata. |
static interface |
PeriodicMaterializationManager.MaterializationTarget
PeriodicMaterializationManager.MaterializationRunnable provider and consumer, i.e. |
Constructor and Description |
---|
PeriodicMaterializationManager(MailboxExecutor mailboxExecutor,
ExecutorService asyncOperationsThreadPool,
String subtaskName,
AsyncExceptionHandler asyncExceptionHandler,
PeriodicMaterializationManager.MaterializationTarget target,
ChangelogMaterializationMetricGroup metricGroup,
long periodicMaterializeDelay,
int allowedNumberOfFailures,
String operatorSubtaskId) |
public PeriodicMaterializationManager(MailboxExecutor mailboxExecutor, ExecutorService asyncOperationsThreadPool, String subtaskName, AsyncExceptionHandler asyncExceptionHandler, PeriodicMaterializationManager.MaterializationTarget target, ChangelogMaterializationMetricGroup metricGroup, long periodicMaterializeDelay, int allowedNumberOfFailures, String operatorSubtaskId)
public void start()
public void close()
close
in interface Closeable
close
in interface AutoCloseable
@VisibleForTesting public void triggerMaterialization()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.