| Package | Description |
|---|---|
| org.graylog2.rest.resources.cluster | |
| org.graylog2.shared.rest.resources |
| Modifier and Type | Method and Description |
|---|---|
Map<String,ProxiedResource.CallResult<Void>> |
ClusterLookupTableResource.performPurge(@NotEmpty String idOrName,
String key)
Calls
LookupTableResource.performPurge(String, String)
on all active nodes and returns results per node |
| Modifier and Type | Method and Description |
|---|---|
static <ResponseType> |
ProxiedResource.CallResult.error(String serverErrorMessage) |
static <ResponseType> |
ProxiedResource.CallResult.success(ProxiedResource.NodeResponse<ResponseType> response) |
| Modifier and Type | Method and Description |
|---|---|
protected <RemoteInterfaceType,RemoteCallResponseType> |
ProxiedResource.requestOnAllNodes(Function<String,Optional<RemoteInterfaceType>> interfaceProvider,
Function<RemoteInterfaceType,retrofit2.Call<RemoteCallResponseType>> fn) |
protected <RemoteInterfaceType,RemoteCallResponseType,FinalResponseType> |
ProxiedResource.requestOnAllNodes(Function<String,Optional<RemoteInterfaceType>> remoteInterfaceProvider,
Function<RemoteInterfaceType,retrofit2.Call<RemoteCallResponseType>> remoteInterfaceCallProvider,
Function<RemoteCallResponseType,FinalResponseType> responseTransformer)
This method concurrently performs an API call on all active nodes.
|
Copyright © 2012–2021 Graylog, Inc.. All rights reserved.