Class: DevCycle::EventQueueOptions
- Inherits:
-
Object
- Object
- DevCycle::EventQueueOptions
- Defined in:
- lib/devcycle-ruby-server-sdk/localbucketing/options.rb
Instance Attribute Summary collapse
-
#disable_automatic_event_logging ⇒ Object
readonly
Returns the value of attribute disable_automatic_event_logging.
-
#disable_custom_event_logging ⇒ Object
readonly
Returns the value of attribute disable_custom_event_logging.
-
#event_flush_interval_ms ⇒ Object
readonly
Returns the value of attribute event_flush_interval_ms.
-
#event_request_chunk_size ⇒ Object
readonly
Returns the value of attribute event_request_chunk_size.
-
#events_api_uri ⇒ Object
readonly
Returns the value of attribute events_api_uri.
-
#flush_event_queue_size ⇒ Object
readonly
Returns the value of attribute flush_event_queue_size.
-
#logger ⇒ Object
readonly
Returns the value of attribute logger.
-
#max_event_queue_size ⇒ Object
readonly
Returns the value of attribute max_event_queue_size.
Instance Method Summary collapse
-
#initialize(event_flush_interval_ms, disable_automatic_event_logging, disable_custom_event_logging, max_event_queue_size, flush_event_queue_size, events_api_uri, event_request_chunk_size, logger) ⇒ EventQueueOptions
constructor
A new instance of EventQueueOptions.
Constructor Details
#initialize(event_flush_interval_ms, disable_automatic_event_logging, disable_custom_event_logging, max_event_queue_size, flush_event_queue_size, events_api_uri, event_request_chunk_size, logger) ⇒ EventQueueOptions
Returns a new instance of EventQueueOptions.
113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 |
# File 'lib/devcycle-ruby-server-sdk/localbucketing/options.rb', line 113 def initialize ( event_flush_interval_ms, disable_automatic_event_logging, disable_custom_event_logging, max_event_queue_size, flush_event_queue_size, events_api_uri, event_request_chunk_size, logger ) @event_flush_interval_ms = event_flush_interval_ms @disable_automatic_event_logging = disable_automatic_event_logging @disable_custom_event_logging = disable_custom_event_logging @max_event_queue_size = max_event_queue_size @flush_event_queue_size = flush_event_queue_size @events_api_uri = events_api_uri @event_request_chunk_size = event_request_chunk_size @logger = logger end |
Instance Attribute Details
#disable_automatic_event_logging ⇒ Object (readonly)
Returns the value of attribute disable_automatic_event_logging.
105 106 107 |
# File 'lib/devcycle-ruby-server-sdk/localbucketing/options.rb', line 105 def disable_automatic_event_logging @disable_automatic_event_logging end |
#disable_custom_event_logging ⇒ Object (readonly)
Returns the value of attribute disable_custom_event_logging.
106 107 108 |
# File 'lib/devcycle-ruby-server-sdk/localbucketing/options.rb', line 106 def disable_custom_event_logging @disable_custom_event_logging end |
#event_flush_interval_ms ⇒ Object (readonly)
Returns the value of attribute event_flush_interval_ms.
104 105 106 |
# File 'lib/devcycle-ruby-server-sdk/localbucketing/options.rb', line 104 def event_flush_interval_ms @event_flush_interval_ms end |
#event_request_chunk_size ⇒ Object (readonly)
Returns the value of attribute event_request_chunk_size.
110 111 112 |
# File 'lib/devcycle-ruby-server-sdk/localbucketing/options.rb', line 110 def event_request_chunk_size @event_request_chunk_size end |
#events_api_uri ⇒ Object (readonly)
Returns the value of attribute events_api_uri.
109 110 111 |
# File 'lib/devcycle-ruby-server-sdk/localbucketing/options.rb', line 109 def events_api_uri @events_api_uri end |
#flush_event_queue_size ⇒ Object (readonly)
Returns the value of attribute flush_event_queue_size.
108 109 110 |
# File 'lib/devcycle-ruby-server-sdk/localbucketing/options.rb', line 108 def flush_event_queue_size @flush_event_queue_size end |
#logger ⇒ Object (readonly)
Returns the value of attribute logger.
111 112 113 |
# File 'lib/devcycle-ruby-server-sdk/localbucketing/options.rb', line 111 def logger @logger end |
#max_event_queue_size ⇒ Object (readonly)
Returns the value of attribute max_event_queue_size.
107 108 109 |
# File 'lib/devcycle-ruby-server-sdk/localbucketing/options.rb', line 107 def max_event_queue_size @max_event_queue_size end |