Class: WithAdvisoryLock::LockStackItem

Inherits:
Data
  • Object
show all
Defined in:
lib/with_advisory_lock/lock_stack_item.rb

Overview

Lock stack item to track acquired locks

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



5
6
7
# File 'lib/with_advisory_lock/lock_stack_item.rb', line 5

def name
  @name
end

#sharedObject (readonly)

Returns the value of attribute shared

Returns:

  • (Object)

    the current value of shared



5
6
7
# File 'lib/with_advisory_lock/lock_stack_item.rb', line 5

def shared
  @shared
end