Class: Fluent::Counter::Store::DummyParent

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#logObject (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_idObject



52
53
54
# File 'lib/fluent/counter/store.rb', line 52

def plugin_id
  'dummy_parent_store'
end

#plugin_id_configured?Boolean

Returns:

  • (Boolean)


56
57
58
# File 'lib/fluent/counter/store.rb', line 56

def plugin_id_configured?
  false
end

#plugin_root_dirObject

storage_local calls PluginId#plugin_root_dir



61
62
63
# File 'lib/fluent/counter/store.rb', line 61

def plugin_root_dir
  nil
end