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.



103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
# File 'lib/devcycle-ruby-server-sdk/localbucketing/options.rb', line 103

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.



95
96
97
# File 'lib/devcycle-ruby-server-sdk/localbucketing/options.rb', line 95

def disable_automatic_event_logging
  @disable_automatic_event_logging
end

#disable_custom_event_loggingObject (readonly)

Returns the value of attribute disable_custom_event_logging.



96
97
98
# File 'lib/devcycle-ruby-server-sdk/localbucketing/options.rb', line 96

def disable_custom_event_logging
  @disable_custom_event_logging
end

#event_flush_interval_msObject (readonly)

Returns the value of attribute event_flush_interval_ms.



94
95
96
# File 'lib/devcycle-ruby-server-sdk/localbucketing/options.rb', line 94

def event_flush_interval_ms
  @event_flush_interval_ms
end

#event_request_chunk_sizeObject (readonly)

Returns the value of attribute event_request_chunk_size.



100
101
102
# File 'lib/devcycle-ruby-server-sdk/localbucketing/options.rb', line 100

def event_request_chunk_size
  @event_request_chunk_size
end

#events_api_uriObject (readonly)

Returns the value of attribute events_api_uri.



99
100
101
# File 'lib/devcycle-ruby-server-sdk/localbucketing/options.rb', line 99

def events_api_uri
  @events_api_uri
end

#flush_event_queue_sizeObject (readonly)

Returns the value of attribute flush_event_queue_size.



98
99
100
# File 'lib/devcycle-ruby-server-sdk/localbucketing/options.rb', line 98

def flush_event_queue_size
  @flush_event_queue_size
end

#loggerObject (readonly)

Returns the value of attribute logger.



101
102
103
# File 'lib/devcycle-ruby-server-sdk/localbucketing/options.rb', line 101

def logger
  @logger
end

#max_event_queue_sizeObject (readonly)

Returns the value of attribute max_event_queue_size.



97
98
99
# File 'lib/devcycle-ruby-server-sdk/localbucketing/options.rb', line 97

def max_event_queue_size
  @max_event_queue_size
end