| Package | Description |
|---|---|
| com.orbitz.consul |
| Modifier and Type | Method and Description |
|---|---|
void |
AgentClient.check(String checkId,
State state,
String note)
Checks in with Consul.
|
void |
AgentClient.checkTtl(String serviceId,
State state,
String note)
Prepends the default TTL prefix to the serviceId to produce a check id,
then delegates to check(String checkId, State state, String note)
This method only works with TTL checks that have not been given a custom
name.
|
void |
AgentClient.fail(String serviceId)
Sets a TTL service check to "critical" state.
|
void |
AgentClient.fail(String serviceId,
String note)
Sets a TTL service check to "critical" state with a note.
|
void |
AgentClient.failCheck(String checkId)
Sets a TTL check to "critical" state.
|
void |
AgentClient.failCheck(String checkId,
String note)
Sets a TTL check to "critical" state with a note.
|
void |
AgentClient.pass(String serviceId)
Sets a TTL service check to "passing" state
|
void |
AgentClient.pass(String serviceId,
String note)
Sets a TTL service check to "passing" state with a note
|
void |
AgentClient.passCheck(String checkId)
Sets a TTL check to "passing" state
|
void |
AgentClient.passCheck(String checkId,
String note)
Sets a TTL check to "passing" state with a note
|
void |
AgentClient.warn(String serviceId)
Sets a TTL service check to "warning" state.
|
void |
AgentClient.warn(String serviceId,
String note)
Sets a TTL service check to "warning" state with a note.
|
void |
AgentClient.warnCheck(String checkId)
Sets a TTL check to "warning" state.
|
void |
AgentClient.warnCheck(String checkId,
String note)
Sets a TTL check to "warning" state with a note.
|
Copyright © 2018. All rights reserved.