| Package | Description |
|---|---|
| io.split.client | |
| io.split.client.impressions | |
| io.split.integrations |
| Modifier and Type | Method and Description |
|---|---|
SplitClientConfig.Builder |
SplitClientConfig.Builder.impressionListener(ImpressionListener impressionListener,
int queueSize)
Deprecated.
As of release 3.2.5, replaced by
SplitClientConfig.integrationsConfig() }
You can provide your own ImpressionListener to capture all impressions
generated by SplitClient. An Impression is generated each time getTreatment is called.
Note that we will wrap any ImpressionListener provided in our own implementation with an Executor controlling impressions going into your ImpressionListener. This is done to protect SplitClient from any slowness caused by your ImpressionListener. The Executor will be given the capacity you provide as parameter which is the number of impressions that can be saved in a blocking queue while waiting for your ImpressionListener to log them. Of course, the larger the value of capacity, the more memory can be taken up. The executor will create two threads. This is an ADVANCED function. |
| Modifier and Type | Class and Description |
|---|---|
class |
AsynchronousImpressionListener
A wrapper around an ImpressionListener provided by the customer.
|
static class |
ImpressionListener.FederatedImpressionListener |
static class |
ImpressionListener.NoopImpressionListener |
| Modifier and Type | Method and Description |
|---|---|
static AsynchronousImpressionListener |
AsynchronousImpressionListener.build(ImpressionListener delegate,
int capacity) |
| Modifier and Type | Method and Description |
|---|---|
static ImpressionsManagerImpl |
ImpressionsManagerImpl.instance(org.apache.hc.client5.http.impl.classic.CloseableHttpClient client,
SplitClientConfig config,
List<ImpressionListener> listeners,
TelemetryRuntimeProducer telemetryRuntimeProducer,
ImpressionsStorageConsumer impressionsStorageConsumer,
ImpressionsStorageProducer impressionsStorageProducer) |
static ImpressionsManagerImpl |
ImpressionsManagerImpl.instanceForTest(org.apache.hc.client5.http.impl.classic.CloseableHttpClient client,
SplitClientConfig config,
ImpressionsSender impressionsSender,
List<ImpressionListener> listeners,
TelemetryRuntimeProducer telemetryRuntimeProducer,
ImpressionsStorageConsumer impressionsStorageConsumer,
ImpressionsStorageProducer impressionsStorageProducer) |
| Constructor and Description |
|---|
AsynchronousImpressionListener(ImpressionListener delegate,
ExecutorService executor) |
| Constructor and Description |
|---|
FederatedImpressionListener(List<ImpressionListener> delegates) |
| Modifier and Type | Class and Description |
|---|---|
class |
NewRelicListener
Impression Listener implementation for New Relic that adds custom parameters to the active transaction
in New Relic.
|
| Modifier and Type | Method and Description |
|---|---|
ImpressionListener |
IntegrationsConfig.ImpressionListenerWithMeta.listener() |
| Modifier and Type | Method and Description |
|---|---|
void |
IntegrationsConfig.addStandardImpressionListener(ImpressionListener listener,
int queueSize) |
IntegrationsConfig.Builder |
IntegrationsConfig.Builder.impressionsListener(ImpressionListener listener,
int queueSize) |
Copyright © 2021. All rights reserved.