Class: Aws::S3::Plugins::RetryableManagedFile Private

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/aws-sdk-s3/plugins/streaming_retry.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

A wrapper around ManagedFile that adds no-ops for truncate and rewind

Instance Method Summary collapse

Constructor Details

#initialize(managed_file) ⇒ RetryableManagedFile

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of RetryableManagedFile.



30
31
32
# File 'lib/aws-sdk-s3/plugins/streaming_retry.rb', line 30

def initialize(managed_file)
  @file = managed_file
end

Instance Method Details

#rewindObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



36
# File 'lib/aws-sdk-s3/plugins/streaming_retry.rb', line 36

def rewind; end

#truncate(_integer) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



34
# File 'lib/aws-sdk-s3/plugins/streaming_retry.rb', line 34

def truncate(_integer); end