Class: DeepConnect::Config
Instance Attribute Summary collapse
-
#DEBUG ⇒ Object
Returns the value of attribute DEBUG.
-
#DEBUG_REFERENCE ⇒ Object
Returns the value of attribute DEBUG_REFERENCE.
-
#DISABLE_INFO ⇒ Object
Returns the value of attribute DISABLE_INFO.
-
#DISPLAY_GC ⇒ Object
Returns the value of attribute DISPLAY_GC.
-
#DISPLAY_KEEP_ALIVE ⇒ Object
Returns the value of attribute DISPLAY_KEEP_ALIVE.
-
#DISPLAY_MESSAGE_TRACE ⇒ Object
Returns the value of attribute DISPLAY_MESSAGE_TRACE.
-
#DISPLAY_METHOD_SPEC ⇒ Object
Returns the value of attribute DISPLAY_METHOD_SPEC.
-
#DISPLAY_MONITOR_MESSAGE ⇒ Object
Returns the value of attribute DISPLAY_MONITOR_MESSAGE.
-
#ENABLE_GC ⇒ Object
Returns the value of attribute ENABLE_GC.
-
#KEEP_ALIVE_INTERVAL ⇒ Object
Returns the value of attribute KEEP_ALIVE_INTERVAL.
-
#MESSAGE_DISPLAY ⇒ Object
Returns the value of attribute MESSAGE_DISPLAY.
-
#MON_INTERVAL ⇒ Object
Returns the value of attribute MON_INTERVAL.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
# File 'lib/deep-connect/conf.rb', line 10 def initialize # enable distributed garbage collection. @ENABLE_GC = false @KEEP_ALIVE_INTERVAL = 60 @MON_INTERVAL = 10 # debugging attributes. @DISABLE_INFO = true @DISPLAY_MESSAGE_TRACE = false @MESSAGE_DISPLAY = false @DEBUG = false @DISPLAY_METHOD_SPEC = false @DISPLAY_MONITOR_MESSAGE = false @DISPLAY_KEEP_ALIVE = false @DEBUG_REFERENCE = false @DISPLAY_GC = false end |
Instance Attribute Details
#DEBUG ⇒ Object
Returns the value of attribute DEBUG.
38 39 40 |
# File 'lib/deep-connect/conf.rb', line 38 def DEBUG @DEBUG end |
#DEBUG_REFERENCE ⇒ Object
Returns the value of attribute DEBUG_REFERENCE.
43 44 45 |
# File 'lib/deep-connect/conf.rb', line 43 def DEBUG_REFERENCE @DEBUG_REFERENCE end |
#DISABLE_INFO ⇒ Object
Returns the value of attribute DISABLE_INFO.
46 47 48 |
# File 'lib/deep-connect/conf.rb', line 46 def DISABLE_INFO @DISABLE_INFO end |
#DISPLAY_GC ⇒ Object
Returns the value of attribute DISPLAY_GC.
44 45 46 |
# File 'lib/deep-connect/conf.rb', line 44 def DISPLAY_GC @DISPLAY_GC end |
#DISPLAY_KEEP_ALIVE ⇒ Object
Returns the value of attribute DISPLAY_KEEP_ALIVE.
41 42 43 |
# File 'lib/deep-connect/conf.rb', line 41 def DISPLAY_KEEP_ALIVE @DISPLAY_KEEP_ALIVE end |
#DISPLAY_MESSAGE_TRACE ⇒ Object
Returns the value of attribute DISPLAY_MESSAGE_TRACE.
36 37 38 |
# File 'lib/deep-connect/conf.rb', line 36 def DISPLAY_MESSAGE_TRACE @DISPLAY_MESSAGE_TRACE end |
#DISPLAY_METHOD_SPEC ⇒ Object
Returns the value of attribute DISPLAY_METHOD_SPEC.
39 40 41 |
# File 'lib/deep-connect/conf.rb', line 39 def DISPLAY_METHOD_SPEC @DISPLAY_METHOD_SPEC end |
#DISPLAY_MONITOR_MESSAGE ⇒ Object
Returns the value of attribute DISPLAY_MONITOR_MESSAGE.
40 41 42 |
# File 'lib/deep-connect/conf.rb', line 40 def DISPLAY_MONITOR_MESSAGE @DISPLAY_MONITOR_MESSAGE end |
#ENABLE_GC ⇒ Object
Returns the value of attribute ENABLE_GC.
32 33 34 |
# File 'lib/deep-connect/conf.rb', line 32 def ENABLE_GC @ENABLE_GC end |
#KEEP_ALIVE_INTERVAL ⇒ Object
Returns the value of attribute KEEP_ALIVE_INTERVAL.
33 34 35 |
# File 'lib/deep-connect/conf.rb', line 33 def KEEP_ALIVE_INTERVAL @KEEP_ALIVE_INTERVAL end |
#MESSAGE_DISPLAY ⇒ Object
Returns the value of attribute MESSAGE_DISPLAY.
37 38 39 |
# File 'lib/deep-connect/conf.rb', line 37 def MESSAGE_DISPLAY @MESSAGE_DISPLAY end |
#MON_INTERVAL ⇒ Object
Returns the value of attribute MON_INTERVAL.
34 35 36 |
# File 'lib/deep-connect/conf.rb', line 34 def MON_INTERVAL @MON_INTERVAL end |