public class BufferedEventProcessor extends Object
| Constructor and Description |
|---|
BufferedEventProcessor(String conductorEndpoint,
String clientId,
String clientSecret,
String keycloakTokenEndpoint,
java.util.function.Function<Event,String> logInfoGenerator) |
BufferedEventProcessor(String conductorEndpoint,
String clientId,
String clientSecret,
String keycloakTokenEndpoint,
java.util.function.Function<Event,String> logInfoGenerator,
int bufferSize) |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
allQueuedFinishedCorrectly() |
void |
enqueueEvent(Event event) |
int |
getCount() |
int |
getErrors() |
long |
getMax() |
long |
getMin() |
public BufferedEventProcessor(String conductorEndpoint, String clientId, String clientSecret, String keycloakTokenEndpoint, java.util.function.Function<Event,String> logInfoGenerator) throws EventProcessorException
EventProcessorExceptionpublic BufferedEventProcessor(String conductorEndpoint, String clientId, String clientSecret, String keycloakTokenEndpoint, java.util.function.Function<Event,String> logInfoGenerator, int bufferSize) throws EventProcessorException
EventProcessorExceptionpublic void enqueueEvent(Event event) throws InterruptedException
InterruptedExceptionpublic Boolean allQueuedFinishedCorrectly()
public int getCount()
public long getMin()
public long getMax()
public int getErrors()
Copyright © 2022. All Rights Reserved.