com.google.appengine.tools.cloudstorage
Interface GcsInputChannel
-
- All Superinterfaces:
- AutoCloseable, Channel, Closeable, ReadableByteChannel, Serializable
public interface GcsInputChannel extends ReadableByteChannel, Serializable
A readable byte channel for reading data to Google Cloud Storage. Implementations of this class may buffer data internally to reduce remote calls. This class is @{link Serializable}, which allows for reading part of a file, serializing the GcsInputChannel deserializing it, and continuing to read from the same file from the same position.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description void
close()
Overridden to remove IOException.-
Methods inherited from interface java.nio.channels.ReadableByteChannel
read
-
-
-
-
Method Detail
-
close
void close()
Overridden to remove IOException.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceChannel
- Specified by:
close
in interfaceCloseable
- See Also:
Channel.close()
-
-
Copyright © 2016 Google. All rights reserved.