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.



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

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.



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

def disable_automatic_event_logging
  @disable_automatic_event_logging
end

#disable_custom_event_loggingObject (readonly)

Returns the value of attribute disable_custom_event_logging.



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

def disable_custom_event_logging
  @disable_custom_event_logging
end

#event_flush_interval_msObject (readonly)

Returns the value of attribute event_flush_interval_ms.



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

def event_flush_interval_ms
  @event_flush_interval_ms
end

#event_request_chunk_sizeObject (readonly)

Returns the value of attribute event_request_chunk_size.



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

def event_request_chunk_size
  @event_request_chunk_size
end

#events_api_uriObject (readonly)

Returns the value of attribute events_api_uri.



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

def events_api_uri
  @events_api_uri
end

#flush_event_queue_sizeObject (readonly)

Returns the value of attribute flush_event_queue_size.



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

def flush_event_queue_size
  @flush_event_queue_size
end

#loggerObject (readonly)

Returns the value of attribute logger.



104
105
106
# File 'lib/devcycle-ruby-server-sdk/localbucketing/options.rb', line 104

def logger
  @logger
end

#max_event_queue_sizeObject (readonly)

Returns the value of attribute max_event_queue_size.



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

def max_event_queue_size
  @max_event_queue_size
end