Interface GSBlobStorage.WriteChannel

  • Enclosing interface:
    GSBlobStorage

    public static interface GSBlobStorage.WriteChannel
    Abstract blob write channel.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void close()
      Closes the channel.
      int write​(byte[] content, int start, int length)
      Writes data to the channel.
    • Method Detail

      • write

        int write​(byte[] content,
                  int start,
                  int length)
           throws IOException
        Writes data to the channel.
        Parameters:
        content - The data buffer
        start - Start offset in the data buffer
        length - Number of bytes to write
        Returns:
        The number of bytes written
        Throws:
        IOException - On underlying failure