Class: LS4::MDSBus

Inherits:
Bus show all
Defined in:
lib/ls4/service/mds.rb

Instance Method Summary collapse

Methods inherited from Bus

ebus_call_log, ebus_signal_error, ebus_signal_log

Methods included from EventBus::BusMixin

#ebus_all_slots, #ebus_disconnect!

Methods included from EventBus::DeclarerBase::Methods

#connect, #ebus_all_slots, #ebus_call_log, #ebus_call_slots, #ebus_signal_error, #ebus_signal_log, #ebus_signal_slots

Methods included from EventBus::DeclarerBase

#call_slot, #signal_slot

Instance Method Details

#addObject

Returns new ObjectKey.

Returns:

  • new ObjectKey



38
# File 'lib/ls4/service/mds.rb', line 38

call_slot :add

#deleteObject

Returns found: removed ObjectKey not found: nil.

Returns:

  • found: removed ObjectKey not found: nil



53
# File 'lib/ls4/service/mds.rb', line 53

call_slot :delete

#get_attrsObject

Returns found: Hash (may be {}) not found: nil.

Returns:

  • found: Hash (may be {}) not found: nil



30
# File 'lib/ls4/service/mds.rb', line 30

call_slot :get_attrs

#get_okeyObject

Returns found: ObjectKey not found: nil.

Returns:

  • found: ObjectKey not found: nil



25
# File 'lib/ls4/service/mds.rb', line 25

call_slot :get_okey

#get_okey_attrsObject

Returns found: [ObjectKey, Hash (may be {})] not found: [nil, nil].

Returns:

  • found: [ObjectKey, Hash (may be {})] not found: [nil, nil]



35
# File 'lib/ls4/service/mds.rb', line 35

call_slot :get_okey_attrs

#removeObject

Returns found: removed ObjectKey not found: nil.

Returns:

  • found: removed ObjectKey not found: nil



48
# File 'lib/ls4/service/mds.rb', line 48

call_slot :remove

#update_attrsObject

Returns found: updated ObjectKey not found: nil.

Returns:

  • found: updated ObjectKey not found: nil



43
# File 'lib/ls4/service/mds.rb', line 43

call_slot :update_attrs

#util_locateObject

Returns found: array of [ObjectKey, vtime, vname] not found: [].

Returns:

  • found: array of [ObjectKey, vtime, vname] not found: []



58
# File 'lib/ls4/service/mds.rb', line 58

call_slot :util_locate