Class: Expeditor::Services::Default
Instance Attribute Summary
#executor, #fallback_enabled
Instance Method Summary
collapse
#breaking?, #current_status, #fallback_enabled?, #reset_status!, #shutdown, #status
Constructor Details
7
8
9
10
11
|
# File 'lib/expeditor/services/default.rb', line 7
def initialize
@executor = Concurrent.global_io_executor
@bucket = nil
@fallback_enabled = true
end
|
Instance Method Details
#break ⇒ Object
25
26
|
# File 'lib/expeditor/services/default.rb', line 25
def break
end
|
#dependency ⇒ Object
28
29
|
# File 'lib/expeditor/services/default.rb', line 28
def dependency
end
|
#failure ⇒ Object
16
17
|
# File 'lib/expeditor/services/default.rb', line 16
def failure
end
|
#rejection ⇒ Object
19
20
|
# File 'lib/expeditor/services/default.rb', line 19
def rejection
end
|
#run_if_allowed ⇒ Object
31
32
33
|
# File 'lib/expeditor/services/default.rb', line 31
def run_if_allowed
yield
end
|
#success ⇒ Object
13
14
|
# File 'lib/expeditor/services/default.rb', line 13
def success
end
|
#timeout ⇒ Object
22
23
|
# File 'lib/expeditor/services/default.rb', line 22
def timeout
end
|