| Package | Description |
|---|---|
| org.graylog2.indexer.cluster | |
| org.graylog2.indexer.indices | |
| org.graylog2.system.stats.elasticsearch |
| Modifier and Type | Method and Description |
|---|---|
Optional<HealthStatus> |
Cluster.deflectorHealth()
Requests the cluster health for the current write index.
|
Optional<HealthStatus> |
Cluster.health()
Requests the cluster health for all indices managed by Graylog.
|
Optional<HealthStatus> |
ClusterAdapter.health(Collection<String> indices) |
| Modifier and Type | Method and Description |
|---|---|
static HealthStatus |
HealthStatus.fromString(String value) |
static HealthStatus |
HealthStatus.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HealthStatus[] |
HealthStatus.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
HealthStatus |
Indices.waitForRecovery(String index) |
HealthStatus |
IndicesAdapter.waitForRecovery(String index) |
HealthStatus |
IndicesAdapter.waitForRecovery(String index,
int timeout) |
| Modifier and Type | Method and Description |
|---|---|
static <E extends Exception> |
Indices.checkIfHealthy(HealthStatus healthStatus,
Function<HealthStatus,E> errorMessageSupplier) |
| Modifier and Type | Method and Description |
|---|---|
static <E extends Exception> |
Indices.checkIfHealthy(HealthStatus healthStatus,
Function<HealthStatus,E> errorMessageSupplier) |
| Modifier and Type | Method and Description |
|---|---|
abstract HealthStatus |
ElasticsearchStats.status() |
| Modifier and Type | Method and Description |
|---|---|
static ElasticsearchStats |
ElasticsearchStats.create(String clusterName,
String clusterVersion,
HealthStatus status,
ClusterHealth clusterHealth,
NodesStats nodesStats,
IndicesStats indicesStats) |
Copyright © 2012–2021 Graylog, Inc.. All rights reserved.