Class: Aliyun::OSS::Multipart::Transaction
- Inherits:
-
Struct::Base
- Object
- Struct::Base
- Aliyun::OSS::Multipart::Transaction
- Includes:
- Logging
- Defined in:
- lib/aliyun/oss/multipart.rb
Overview
A multipart transaction. Provide the basic checkpoint methods.
Constant Summary
Constants included from Logging
Logging::DEFAULT_LOG_FILE, Logging::MAX_NUM_LOG, Logging::ROTATE_SIZE
Instance Method Summary collapse
-
#initialize(opts = {}) ⇒ Transaction
constructor
A new instance of Transaction.
Methods included from Logging
#logger, set_log_file, set_log_level
Methods inherited from Struct::Base
Methods included from Struct::Base::AttrHelper
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 |