class DRbQS::ProcessList

Constants

NODE_DIRECTORY
PROCESS_ROOT_DIRECTORY
SERVER_DIRECTORY

Attributes

node[R]
root[R]
server[R]

Public Class Methods

new(home) click to toggle source
# File lib/drbqs/config/process_list.rb, line 186
def initialize(home)
  hostname = Socket.gethostname
  @root = File.expand_path(File.join(home, PROCESS_ROOT_DIRECTORY))
  @server = DRbQS::ProcessList::Server.new(File.join(@root, SERVER_DIRECTORY, hostname))
  @node = DRbQS::ProcessList::Node.new(File.join(@root, NODE_DIRECTORY, hostname))
end

Public Instance Methods

clear_process_not_exist() click to toggle source
# File lib/drbqs/config/process_list.rb, line 193
def clear_process_not_exist
  @server.clear_process_not_exist
  @node.clear_process_not_exist
end