Class: Fluent::Counter::Store::DummyParent
- Inherits:
-
Object
- Object
- Fluent::Counter::Store::DummyParent
- Includes:
- Fluent::Configurable
- Defined in:
- lib/fluent/counter/store.rb
Overview
This class behaves as a configurable plugin for using in storage (OwnedByMixin).
Constant Summary
Constants included from Fluent::Configurable
Fluent::Configurable::CONFIG_TYPE_REGISTRY
Instance Attribute Summary collapse
-
#log ⇒ Object
readonly
Returns the value of attribute log.
Instance Method Summary collapse
-
#initialize(log) ⇒ DummyParent
constructor
A new instance of DummyParent.
- #plugin_id ⇒ Object
- #plugin_id_configured? ⇒ Boolean
-
#plugin_root_dir ⇒ Object
storage_local calls PluginId#plugin_root_dir.
Methods included from Fluent::Configurable
#config, #configure, #configure_proxy_generate, #configured_section_create, included, lookup_type, register_type
Constructor Details
#initialize(log) ⇒ DummyParent
Returns a new instance of DummyParent.
48 49 50 |
# File 'lib/fluent/counter/store.rb', line 48 def initialize(log) @log = log end |
Instance Attribute Details
#log ⇒ Object (readonly)
Returns the value of attribute log.
46 47 48 |
# File 'lib/fluent/counter/store.rb', line 46 def log @log end |
Instance Method Details
#plugin_id ⇒ Object
52 53 54 |
# File 'lib/fluent/counter/store.rb', line 52 def plugin_id 'dummy_parent_store' end |
#plugin_id_configured? ⇒ Boolean
56 57 58 |
# File 'lib/fluent/counter/store.rb', line 56 def plugin_id_configured? false end |
#plugin_root_dir ⇒ Object
storage_local calls PluginId#plugin_root_dir
61 62 63 |
# File 'lib/fluent/counter/store.rb', line 61 def plugin_root_dir nil end |