Class: Aws::S3::Plugins::RetryableManagedFile Private
- Inherits:
-
Object
- Object
- Aws::S3::Plugins::RetryableManagedFile
- 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
-
#initialize(managed_file) ⇒ RetryableManagedFile
constructor
private
A new instance of RetryableManagedFile.
- #rewind ⇒ Object private
- #truncate(_integer) ⇒ Object private
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
#rewind ⇒ 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.
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 |