Package io.joshworks.stream.client
Class ClientConfiguration
- java.lang.Object
-
- io.joshworks.stream.client.ClientConfiguration
-
- Direct Known Subclasses:
SseConfiguration,WsConfiguration
public class ClientConfiguration extends java.lang.ObjectCreated by Josh Gontijo on 6/9/17.
-
-
Field Summary
Fields Modifier and Type Field Description protected intmaxRetriesprotected ConnectionMonitormonitorprotected java.lang.RunnableonFailedAttemptprotected java.lang.RunnableonRetriesExceededprotected longretryIntervalprotected java.util.concurrent.ScheduledExecutorServiceschedulerprotected java.lang.Stringurlprotected org.xnio.XnioWorkerworker
-
Constructor Summary
Constructors Constructor Description ClientConfiguration(java.lang.String url, org.xnio.XnioWorker worker, java.util.concurrent.ScheduledExecutorService scheduler, ConnectionMonitor monitor)
-
-
-
Field Detail
-
url
protected final java.lang.String url
-
worker
protected final org.xnio.XnioWorker worker
-
scheduler
protected final java.util.concurrent.ScheduledExecutorService scheduler
-
monitor
protected final ConnectionMonitor monitor
-
retryInterval
protected long retryInterval
-
maxRetries
protected int maxRetries
-
onFailedAttempt
protected java.lang.Runnable onFailedAttempt
-
onRetriesExceeded
protected java.lang.Runnable onRetriesExceeded
-
-
Constructor Detail
-
ClientConfiguration
public ClientConfiguration(java.lang.String url, org.xnio.XnioWorker worker, java.util.concurrent.ScheduledExecutorService scheduler, ConnectionMonitor monitor)
-
-