Class: UU::OS::Env::Lock::LockCreate
- Inherits:
-
REST::DTO
- Object
- REST::DTO
- UU::OS::Env::Lock::LockCreate
- Defined in:
- uu_os_framework-0.29.16/lib/uu/os/env/lock/lock_create.rb
Overview
Attributes of the Lock for lock create operation.
Instance Attribute Summary (collapse)
-
- (String) code
Code of the lock.
-
- (Numeric) lock_timeout
Timeout for the lock expiration (in seconds).
-
- (String) name
Name of the lock.
-
- (TrueClass, FalseClass) reentrant
Flag if the lock is reentrant.
-
- (Numeric) wait_timeout
Wait timeout for which process want to wait for lock creation (in seconds).
Method Summary
Methods inherited from REST::DTO
#initialize, #to_hash, #to_json
Constructor Details
This class inherits a constructor from UU::OS::REST::DTO
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class UU::OS::REST::DTO
Instance Attribute Details
- (String) code
Code of the lock.
15 16 17 |
# File 'uu_os_framework-0.29.16/lib/uu/os/env/lock/lock_create.rb', line 15 def code @code end |
- (Numeric) lock_timeout
Timeout for the lock expiration (in seconds).
25 26 27 |
# File 'uu_os_framework-0.29.16/lib/uu/os/env/lock/lock_create.rb', line 25 def lock_timeout @lock_timeout end |
- (String) name
Name of the lock.
20 21 22 |
# File 'uu_os_framework-0.29.16/lib/uu/os/env/lock/lock_create.rb', line 20 def name @name end |
- (TrueClass, FalseClass) reentrant
Flag if the lock is reentrant.
30 31 32 |
# File 'uu_os_framework-0.29.16/lib/uu/os/env/lock/lock_create.rb', line 30 def reentrant @reentrant end |
- (Numeric) wait_timeout
Wait timeout for which process want to wait for lock creation (in seconds).
35 36 37 |
# File 'uu_os_framework-0.29.16/lib/uu/os/env/lock/lock_create.rb', line 35 def wait_timeout @wait_timeout end |