-
Methods Method Description io.split.client.SplitClientConfig.Builder.impressionListener(ImpressionListener, int) As of release 3.2.5, replaced bySplitClientConfig.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.