T - type of the returned state handle.public abstract class NonClosingCheckpointOutputStream<T extends StreamStateHandle> extends OutputStream
| 限定符和类型 | 字段和说明 |
|---|---|
protected CheckpointStateOutputStream |
delegate |
| 构造器和说明 |
|---|
NonClosingCheckpointOutputStream(CheckpointStateOutputStream delegate) |
protected final CheckpointStateOutputStream delegate
public NonClosingCheckpointOutputStream(CheckpointStateOutputStream delegate)
public void flush()
throws IOException
flush 在接口中 Flushableflush 在类中 OutputStreamIOExceptionpublic void write(int b)
throws IOException
write 在类中 OutputStreamIOExceptionpublic void write(byte[] b)
throws IOException
write 在类中 OutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write 在类中 OutputStreamIOExceptionpublic void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableclose 在类中 OutputStreamIOExceptionpublic final org.apache.flink.util.ResourceGuard.Lease acquireLease()
throws IOException
ResourceGuard.Lease that prevents closing this
stream. To allow the system to close this stream, each of the acquired leases need to call
ResourceGuard.Lease.close(), on their acquired leases.IOExceptionCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.