Module: AssMaintainer::InfoBase::Interfaces::InfoBaseWrapper
- Included in:
- FileIb::InfoBaseWrapper, ServerIb::InfoBaseWrapper
- Defined in:
- lib/ass_maintainer/info_base/interfaces.rb
Overview
Interface for FileIb::InfoBaseWrapper and ServerIb::InfoBaseWrapper classes
Instance Method Summary collapse
-
#lock ⇒ Object
Lock infobase.
-
#locked? ⇒ Boolean
Lock infobase.
-
#locked_we? ⇒ Boolean
True if infobase locked this For file infobase it return
false. -
#sessions ⇒ Array <Session>
Returns array of infobase sessions For file infobase returns empty array.
-
#unlock ⇒ Object
Unlock infobase which #locked_we?.
-
#unlock! ⇒ Object
Unlock infobase.
Instance Method Details
#lock ⇒ Object
Lock infobase. It work for server infobase only. For file infobase it do nothing
46 47 48 |
# File 'lib/ass_maintainer/info_base/interfaces.rb', line 46 def lock fail NotImplementedError end |
#locked? ⇒ Boolean
Lock infobase. It work for server infobase only. For file infobase it return false
66 67 68 |
# File 'lib/ass_maintainer/info_base/interfaces.rb', line 66 def locked? fail NotImplementedError end |
#locked_we? ⇒ Boolean
True if infobase locked this For file infobase it return false
72 73 74 |
# File 'lib/ass_maintainer/info_base/interfaces.rb', line 72 def locked_we? fail NotImplementedError end |
#sessions ⇒ Array <Session>
Returns array of infobase sessions For file infobase returns empty array
40 41 42 |
# File 'lib/ass_maintainer/info_base/interfaces.rb', line 40 def sessions fail NotImplementedError end |
#unlock ⇒ Object
Unlock infobase which #locked_we?. It work for server infobase only. For file infobase it do nothing
53 54 55 |
# File 'lib/ass_maintainer/info_base/interfaces.rb', line 53 def unlock fail NotImplementedError end |
#unlock! ⇒ Object
Unlock infobase. It work for server infobase only. For file infobase it do nothing
60 61 62 |
# File 'lib/ass_maintainer/info_base/interfaces.rb', line 60 def unlock! fail NotImplementedError end |