Module: AssMaintainer::InfoBase::Interfaces::InfoBaseWrapper

Included in:
FileIb::InfoBaseWrapper, ServerIb::InfoBaseWrapper
Defined in:
lib/ass_maintainer/info_base/interfaces.rb

Overview

Instance Method Summary collapse

Instance Method Details

#lockObject

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

Returns:

  • (Boolean)


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

Returns:

  • (Boolean)


72
73
74
# File 'lib/ass_maintainer/info_base/interfaces.rb', line 72

def locked_we?
  fail NotImplementedError
end

#sessionsArray <Session>

Returns array of infobase sessions For file infobase returns empty array

Returns:

  • (Array <Session>)


40
41
42
# File 'lib/ass_maintainer/info_base/interfaces.rb', line 40

def sessions
  fail NotImplementedError
end

#unlockObject

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