public class FileMergingSnapshotManagerBuilder extends Object
FileMergingSnapshotManager.| Constructor and Description |
|---|
FileMergingSnapshotManagerBuilder(org.apache.flink.api.common.JobID jobId,
ResourceID tmResourceId,
FileMergingType type)
Initialize the builder.
|
| Modifier and Type | Method and Description |
|---|---|
FileMergingSnapshotManager |
build()
Create file-merging snapshot manager based on configuration.
|
FileMergingSnapshotManagerBuilder |
setFilePoolType(PhysicalFilePool.Type filePoolType)
Set the type of physical file pool.
|
FileMergingSnapshotManagerBuilder |
setIOExecutor(Executor ioExecutor)
Set the executor for io operation in manager.
|
FileMergingSnapshotManagerBuilder |
setMaxFileSize(long maxFileSize)
Set the max file size.
|
FileMergingSnapshotManagerBuilder |
setMaxSpaceAmplification(float amplification) |
FileMergingSnapshotManagerBuilder |
setMetricGroup(TaskManagerJobMetricGroup metricGroup) |
public FileMergingSnapshotManagerBuilder(org.apache.flink.api.common.JobID jobId,
ResourceID tmResourceId,
FileMergingType type)
id - the id of the manager.public FileMergingSnapshotManagerBuilder setMaxFileSize(long maxFileSize)
public FileMergingSnapshotManagerBuilder setFilePoolType(PhysicalFilePool.Type filePoolType)
public FileMergingSnapshotManagerBuilder setMaxSpaceAmplification(float amplification)
public FileMergingSnapshotManagerBuilder setIOExecutor(@Nullable Executor ioExecutor)
public FileMergingSnapshotManagerBuilder setMetricGroup(TaskManagerJobMetricGroup metricGroup)
public FileMergingSnapshotManager build()
Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.