Class: GCTuner::Heuristic::Base
- Inherits:
-
Object
- Object
- GCTuner::Heuristic::Base
- Defined in:
- lib/gc_tuner/heuristic/base.rb
Direct Known Subclasses
Class Method Summary collapse
Instance Method Summary collapse
- #call(request_time, before_gc_context, after_gc_context) ⇒ Object
- #debug_message ⇒ Object
- #tuning_message ⇒ Object
Class Method Details
.disable! ⇒ Object
11 12 13 |
# File 'lib/gc_tuner/heuristic/base.rb', line 11 def disable! @disabled = true end |
.enabled? ⇒ Boolean
7 8 9 |
# File 'lib/gc_tuner/heuristic/base.rb', line 7 def enabled? supported? && !@disabled end |
Instance Method Details
#call(request_time, before_gc_context, after_gc_context) ⇒ Object
22 23 24 |
# File 'lib/gc_tuner/heuristic/base.rb', line 22 def call(request_time, before_gc_context, after_gc_context) raise NotImplementedError end |
#debug_message ⇒ Object
30 31 32 |
# File 'lib/gc_tuner/heuristic/base.rb', line 30 def raise NotImplementedError end |
#tuning_message ⇒ Object
26 27 28 |
# File 'lib/gc_tuner/heuristic/base.rb', line 26 def raise NotImplementedError end |