@Experimental @ThreadSafe public class FsStateChangelogStorage extends Object implements org.apache.flink.runtime.state.changelog.StateChangelogStorage<org.apache.flink.runtime.state.changelog.ChangelogStateHandleStreamImpl>
StateChangelogStorage.| 构造器和说明 |
|---|
FsStateChangelogStorage(org.apache.flink.configuration.Configuration config) |
FsStateChangelogStorage(org.apache.flink.core.fs.Path basePath,
boolean compression,
int bufferSize) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
org.apache.flink.runtime.state.changelog.StateChangelogHandleReader<org.apache.flink.runtime.state.changelog.ChangelogStateHandleStreamImpl> |
createReader() |
org.apache.flink.changelog.fs.FsStateChangelogWriter |
createWriter(String operatorID,
org.apache.flink.runtime.state.KeyGroupRange keyGroupRange) |
public FsStateChangelogStorage(org.apache.flink.configuration.Configuration config)
throws IOException
IOException@VisibleForTesting
public FsStateChangelogStorage(org.apache.flink.core.fs.Path basePath,
boolean compression,
int bufferSize)
throws IOException
IOExceptionpublic org.apache.flink.changelog.fs.FsStateChangelogWriter createWriter(String operatorID, org.apache.flink.runtime.state.KeyGroupRange keyGroupRange)
createWriter 在接口中 org.apache.flink.runtime.state.changelog.StateChangelogStorage<org.apache.flink.runtime.state.changelog.ChangelogStateHandleStreamImpl>public org.apache.flink.runtime.state.changelog.StateChangelogHandleReader<org.apache.flink.runtime.state.changelog.ChangelogStateHandleStreamImpl> createReader()
createReader 在接口中 org.apache.flink.runtime.state.changelog.StateChangelogStorage<org.apache.flink.runtime.state.changelog.ChangelogStateHandleStreamImpl>public void close()
throws Exception
close 在接口中 AutoCloseableclose 在接口中 org.apache.flink.runtime.state.changelog.StateChangelogStorage<org.apache.flink.runtime.state.changelog.ChangelogStateHandleStreamImpl>ExceptionCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.