Class: Aliyun::OSS::Multipart::Transaction

Inherits:
Common::Struct::Base show all
Defined in:
lib/aliyun/oss/multipart.rb

Overview

A multipart transaction. Provide the basic checkpoint methods.

Direct Known Subclasses

Download, Upload

Instance Method Summary collapse

Methods inherited from Common::Struct::Base

#to_s

Methods included from Common::Struct::Base::AttrHelper

#attrs

Constructor Details

#initialize(opts = {}) ⇒ Transaction

Returns a new instance of Transaction.



21
22
23
24
25
# File 'lib/aliyun/oss/multipart.rb', line 21

def initialize(opts = {})
  super(opts)

  @mutex = Mutex.new
end