Class: DevCycle::EventQueueOptions

Inherits:
Object
  • Object
show all
Defined in:
lib/devcycle-ruby-server-sdk/localbucketing/options.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_loggingObject (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_loggingObject (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_msObject (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_sizeObject (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_uriObject (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_sizeObject (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

#loggerObject (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_sizeObject (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