GcsService (App Engine Client for Google Cloud Storage 0.6 API)


Interface GcsService

  • public interface GcsService
    Allows creating and accessing files in Google Cloud Storage. This class uses the RetryParams that were passed to GcsServiceFactory. This is used for all of the methods provided by this class. So an RetriesExhaustedException means that these have failed. Retry logic is handled internally to this class, because while writing to the GcsOutputChannel a request can span the boundaries of segments written to RawGcsService. As a result a write call could partly succeed, making error recovery at an application level next to impossible. Reading, deleting, and gettingMetadata are all idempotent operations. However for symmetry and convenience the RetryParams are applied to these calls as well.