| Package | Description |
|---|---|
| com.orbitz.consul | |
| com.orbitz.consul.model.session |
| Modifier and Type | Method and Description |
|---|---|
Optional<SessionInfo> |
SessionClient.getSessionInfo(String sessionId)
Retrieves session info.
|
Optional<SessionInfo> |
SessionClient.getSessionInfo(String sessionId,
String dc)
Retrieves session info.
|
List<SessionInfo> |
SessionClient.listSessions()
Lists all sessions.
|
List<SessionInfo> |
SessionClient.listSessions(String dc)
Lists all sessions.
|
Optional<SessionInfo> |
SessionClient.renewSession(String sessionId) |
Optional<SessionInfo> |
SessionClient.renewSession(String dc,
String sessionId)
Renews a session.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ImmutableSessionInfo
Immutable implementation of
SessionInfo. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableSessionInfo |
ImmutableSessionInfo.copyOf(SessionInfo instance)
Creates an immutable copy of a
SessionInfo value. |
ImmutableSessionInfo.Builder |
ImmutableSessionInfo.Builder.from(SessionInfo instance)
Fill a builder with attribute values from the provided
SessionInfo instance. |
Copyright © 2018. All rights reserved.