Class: ShareDataWatcher

Inherits:
Object
  • Object
show all
Extended by:
ClassInterface
Includes:
InstanceMethods, Loggable
Defined in:
lib/share-data-watcher.rb,
lib/share-data-watcher/struct.rb,
lib/share-data-watcher/version.rb,
lib/share-data-watcher/loggable.rb,
lib/share-data-watcher/type/base.rb,
lib/share-data-watcher/connection.rb,
lib/share-data-watcher/type/fetch.rb,
lib/share-data-watcher/type/watch.rb,
lib/share-data-watcher/class_interface.rb,
lib/share-data-watcher/instance_methods.rb

Overview

Watch etcd value for IAS

Defined Under Namespace

Modules: ClassInterface, InstanceMethods, Loggable, Struct, Type Classes: Connection

Constant Summary collapse

DEFAULT_ENDPOINT =
'http://localhost:2379'
DEFAULT_HEALTHCHECK_INTERVAL =
(30..90).freeze
VERSION =
'0.2.1'

Class Attribute Summary collapse

Attributes included from InstanceMethods

#endpoints, #healthcheck_interval

Method Summary

Methods included from ClassInterface

types

Methods included from InstanceMethods

#initialize, #restart, #shutdown, #start, #to_h, #valid?

Methods included from Loggable

#debug, #error, #info, #warn

Class Attribute Details

.loggerObject

Returns the value of attribute logger.



23
24
25
# File 'lib/share-data-watcher.rb', line 23

def logger
  @logger
end