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

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

Overview

A multipart transaction. Provide the basic checkpoint methods.

Direct Known Subclasses

Download, Upload

Constant Summary

Constants included from Logging

Logging::DEFAULT_LOG_FILE, Logging::MAX_NUM_LOG, Logging::ROTATE_SIZE

Instance Method Summary collapse

Methods included from Logging

#logger, set_log_file, set_log_level

Methods inherited from Struct::Base

#to_s

Methods included from Struct::Base::AttrHelper

#attrs

Constructor Details

#initialize(opts = {}) ⇒ Transaction

Returns a new instance of Transaction.



23
24
25
26
27
# File 'lib/aliyun/oss/multipart.rb', line 23

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

  @mutex = Mutex.new
end