Interface BlobAppendableUpload.AppendableUploadWriteableByteChannel

All Superinterfaces:
AutoCloseable, Channel, Closeable, WritableByteChannel
Enclosing interface:
BlobAppendableUpload

@BetaApi @InternalExtensionOnly public static interface BlobAppendableUpload.AppendableUploadWriteableByteChannel extends WritableByteChannel
The WritableByteChannel returned from BlobAppendableUpload.open().

This interface allows writing bytes to an Appendable Upload, and provides methods to close this channel -- optionally finalizing the upload.

The write(ByteBuffer) method of this channel is non-blocking.

Since:
2.51.0 This new api is in preview and is subject to breaking changes.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    This method is blocking
    void
    This method is blocking
    void
    This method is blocking
    void
    This method is blocking
    int
    This method is non-blocking

    Methods inherited from interface java.nio.channels.Channel

    isOpen