Class: RedlockForCollection::Collection::LockPair

Inherits:
Struct
  • Object
show all
Defined in:
lib/redlock_for_collection/collection.rb

Instance Attribute Summary collapse

Instance Attribute Details

#lock_infoObject

Returns the value of attribute lock_info

Returns:

  • (Object)

    the current value of lock_info



8
9
10
# File 'lib/redlock_for_collection/collection.rb', line 8

def lock_info
  @lock_info
end

#objectObject

Returns the value of attribute object

Returns:

  • (Object)

    the current value of object



8
9
10
# File 'lib/redlock_for_collection/collection.rb', line 8

def object
  @object
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



8
9
10
# File 'lib/redlock_for_collection/collection.rb', line 8

def status
  @status
end