Class: Autotuner::Heuristic::Base
- Inherits:
-
Object
- Object
- Autotuner::Heuristic::Base
show all
- Defined in:
- lib/autotuner/heuristic/base.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Constructor Details
#initialize(system_context) ⇒ Base
Returns a new instance of Base.
20
21
22
|
# File 'lib/autotuner/heuristic/base.rb', line 20
def initialize(system_context)
@system_context = system_context
end
|
Class Method Details
.disable! ⇒ Object
11
12
13
|
# File 'lib/autotuner/heuristic/base.rb', line 11
def disable!
@disabled = true
end
|
.enabled? ⇒ Boolean
7
8
9
|
# File 'lib/autotuner/heuristic/base.rb', line 7
def enabled?
!@disabled
end
|
.supported? ⇒ Boolean
15
16
17
|
# File 'lib/autotuner/heuristic/base.rb', line 15
def supported?
raise NotImplementedError
end
|
Instance Method Details
#call(request_time, before_gc_context, after_gc_context) ⇒ Object
28
29
30
|
# File 'lib/autotuner/heuristic/base.rb', line 28
def call(request_time, before_gc_context, after_gc_context)
raise NotImplementedError
end
|
#debug_state ⇒ Object
36
37
38
|
# File 'lib/autotuner/heuristic/base.rb', line 36
def debug_state
raise NotImplementedError
end
|
#name ⇒ Object
24
25
26
|
# File 'lib/autotuner/heuristic/base.rb', line 24
def name
raise NotImplementedError
end
|
#tuning_report ⇒ Object
32
33
34
|
# File 'lib/autotuner/heuristic/base.rb', line 32
def tuning_report
raise NotImplementedError
end
|