public final class EventsConfiguration
extends java.lang.Object
DefaultEventProcessor.
This class is not exposed in the public SDK API.| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_EVENT_SENDING_THREAD_POOL_SIZE
Default number of event-sending worker threads.
|
| Constructor and Description |
|---|
EventsConfiguration(boolean allAttributesPrivate,
int capacity,
EventContextDeduplicator contextDeduplicator,
long diagnosticRecordingIntervalMillis,
DiagnosticStore diagnosticStore,
EventSender eventSender,
int eventSendingThreadPoolSize,
java.net.URI eventsUri,
long flushIntervalMillis,
boolean initiallyInBackground,
boolean initiallyOffline,
java.util.Collection<com.launchdarkly.sdk.AttributeRef> privateAttributes)
Creates an instance.
|
public static final int DEFAULT_EVENT_SENDING_THREAD_POOL_SIZE
public EventsConfiguration(boolean allAttributesPrivate,
int capacity,
EventContextDeduplicator contextDeduplicator,
long diagnosticRecordingIntervalMillis,
DiagnosticStore diagnosticStore,
EventSender eventSender,
int eventSendingThreadPoolSize,
java.net.URI eventsUri,
long flushIntervalMillis,
boolean initiallyInBackground,
boolean initiallyOffline,
java.util.Collection<com.launchdarkly.sdk.AttributeRef> privateAttributes)
allAttributesPrivate - true if all attributes are privatecapacity - event buffer capacity (if zero or negative, a value of 1 is used to prevent errors)contextDeduplicator - optional EventContextDeduplicator; null for client-side SDKdiagnosticRecordingIntervalMillis - diagnostic recording intervaldiagnosticStore - optional DiagnosticStore; null if diagnostics are disabledeventSender - event delivery component; must not be nulleventSendingThreadPoolSize - number of worker threads for event delivery; zero to use the defaulteventsUri - events base URIflushIntervalMillis - event flush intervalinitiallyInBackground - true if we should start out in background mode (see
DefaultEventProcessor.setInBackground(boolean))initiallyOffline - true if we should start out in offline mode (see
DefaultEventProcessor.setOffline(boolean))privateAttributes - list of private attribute references; may be null