public class InstanceInfo extends Object
| Modifier and Type | Field and Description |
|---|---|
org.apache.http.client.methods.HttpGet |
httpGet |
Object |
lock |
AtomicBoolean |
notificationRecent |
| Constructor and Description |
|---|
InstanceInfo(UUID instanceUUID,
String serverURI,
int since,
String sessionId,
org.apache.http.client.protocol.HttpClientContext httpContext) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
long |
getCurrentSeq() |
org.apache.http.client.protocol.HttpClientContext |
getHttpContext() |
String |
getLocation() |
org.apache.http.concurrent.FutureCallback<org.apache.http.HttpResponse> |
getNotificationCallback() |
String |
getServerUri() |
String |
getSessionId() |
UUID |
getUuid() |
WaitNotifier |
getWaitNotifier() |
boolean |
isNotificationRunning() |
void |
setCurrentSeq(long since) |
void |
setNotificationRunningFalse() |
void |
setNotificationRunningTrue(org.apache.http.concurrent.FutureCallback<org.apache.http.HttpResponse> callback) |
String |
toString() |
void |
updateSessionId(String newSessionId) |
public AtomicBoolean notificationRecent
public org.apache.http.client.methods.HttpGet httpGet
public final Object lock
public InstanceInfo(UUID instanceUUID, String serverURI, int since, String sessionId, org.apache.http.client.protocol.HttpClientContext httpContext) throws URISyntaxException
URISyntaxExceptionpublic String getServerUri()
public UUID getUuid()
public String getLocation()
public long getCurrentSeq()
public String getSessionId()
public void setCurrentSeq(long since)
public void updateSessionId(String newSessionId)
public boolean isNotificationRunning()
public void setNotificationRunningTrue(org.apache.http.concurrent.FutureCallback<org.apache.http.HttpResponse> callback)
public void setNotificationRunningFalse()
public org.apache.http.concurrent.FutureCallback<org.apache.http.HttpResponse> getNotificationCallback()
public org.apache.http.client.protocol.HttpClientContext getHttpContext()
public WaitNotifier getWaitNotifier()
Copyright © 2015–2021. All rights reserved.