Class: PoolLint::AdvisoryLock
- Inherits:
-
Struct
- Object
- Struct
- PoolLint::AdvisoryLock
- Defined in:
- lib/poollint/report.rb
Instance Attribute Summary collapse
-
#class_id ⇒ Object
Returns the value of attribute class_id.
-
#database ⇒ Object
Returns the value of attribute database.
-
#human_name ⇒ Object
Returns the value of attribute human_name.
-
#mode ⇒ Object
Returns the value of attribute mode.
-
#object_key ⇒ Object
Returns the value of attribute object_key.
-
#object_sub_id ⇒ Object
Returns the value of attribute object_sub_id.
Instance Method Summary collapse
Instance Attribute Details
#class_id ⇒ Object
Returns the value of attribute class_id
13 14 15 |
# File 'lib/poollint/report.rb', line 13 def class_id @class_id end |
#database ⇒ Object
Returns the value of attribute database
13 14 15 |
# File 'lib/poollint/report.rb', line 13 def database @database end |
#human_name ⇒ Object
Returns the value of attribute human_name
13 14 15 |
# File 'lib/poollint/report.rb', line 13 def human_name @human_name end |
#mode ⇒ Object
Returns the value of attribute mode
13 14 15 |
# File 'lib/poollint/report.rb', line 13 def mode @mode end |
#object_key ⇒ Object
Returns the value of attribute object_key
13 14 15 |
# File 'lib/poollint/report.rb', line 13 def object_key @object_key end |
#object_sub_id ⇒ Object
Returns the value of attribute object_sub_id
13 14 15 |
# File 'lib/poollint/report.rb', line 13 def object_sub_id @object_sub_id end |
Instance Method Details
#fingerprint ⇒ Object
22 23 24 |
# File 'lib/poollint/report.rb', line 22 def fingerprint [database, class_id, object_key, object_sub_id, mode] end |
#numeric_key ⇒ Object
26 27 28 |
# File 'lib/poollint/report.rb', line 26 def numeric_key (class_id.to_i << 32) | object_key.to_i end |