class GroongaQueryLog::Command::CheckCrash::GroongaProcess
Attributes
crashed[W]
end_log_path[RW]
end_time[RW]
finished[W]
important_entries[R]
n_leaks[RW]
pid[R]
start_log_path[R]
start_time[R]
version[R]
Public Class Methods
new(version, pid, start_time, start_log_path)
click to toggle source
# File lib/groonga-query-log/command/check-crash.rb, line 84 def initialize(version, pid, start_time, start_log_path) @version = version @pid = pid @start_time = start_time @end_time = @start_time @start_log_path = start_log_path @end_log_path = @start_log_path @n_leaks = 0 @crashed = false @finished = false @important_entries = [] end
Public Instance Methods
crashed?()
click to toggle source
# File lib/groonga-query-log/command/check-crash.rb, line 97 def crashed? @crashed end
finished?()
click to toggle source
# File lib/groonga-query-log/command/check-crash.rb, line 101 def finished? @finished end
successfully_finished?()
click to toggle source
# File lib/groonga-query-log/command/check-crash.rb, line 105 def successfully_finished? return false if crashed? return false unless finished? true end