Package org.apache.flink.fs.gs.storage
Interface GSBlobStorage.WriteChannel
-
- Enclosing interface:
- GSBlobStorage
public static interface GSBlobStorage.WriteChannelAbstract blob write channel.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()Closes the channel.intwrite(byte[] content, int start, int length)Writes data to the channel.
-
-
-
Method Detail
-
write
int write(byte[] content, int start, int length) throws IOExceptionWrites data to the channel.- Parameters:
content- The data bufferstart- Start offset in the data bufferlength- Number of bytes to write- Returns:
- The number of bytes written
- Throws:
IOException- On underlying failure
-
close
void close() throws IOExceptionCloses the channel.- Throws:
IOException- On underlying failure
-
-