public class ResponseConfirmation
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ResponseConfirmation.Event |
Constructor and Description |
---|
ResponseConfirmation(org.eclipse.jetty.client.HttpClient httpClient,
javax.servlet.http.HttpServletRequest clientRequest) |
Modifier and Type | Method and Description |
---|---|
static boolean |
addListener(Listener<ResponseConfirmation> listener,
ResponseConfirmation.Event eventType) |
java.lang.String |
getInitialNode() |
ConfirmationReport |
getReport() |
static boolean |
removeListener(Listener<ResponseConfirmation> listener,
ResponseConfirmation.Event eventType) |
void |
startConfirmation(java.util.List<java.net.URI> nodesUrls,
int idleTimeout) |
public ResponseConfirmation(org.eclipse.jetty.client.HttpClient httpClient, javax.servlet.http.HttpServletRequest clientRequest)
public static boolean addListener(Listener<ResponseConfirmation> listener, ResponseConfirmation.Event eventType)
public static boolean removeListener(Listener<ResponseConfirmation> listener, ResponseConfirmation.Event eventType)
public void startConfirmation(java.util.List<java.net.URI> nodesUrls, int idleTimeout)
public java.lang.String getInitialNode()
public ConfirmationReport getReport()