public class VerifyNodeRepositoryAction extends AbstractComponent
Modifier and Type | Class and Description |
---|---|
static class |
VerifyNodeRepositoryAction.VerifyNodeRepositoryRequest |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ACTION_NAME |
deprecationLogger, logger, settings
Constructor and Description |
---|
VerifyNodeRepositoryAction(Settings settings,
TransportService transportService,
ClusterService clusterService,
RepositoriesService repositoriesService) |
Modifier and Type | Method and Description |
---|---|
void |
finishVerification(ActionListener<RepositoriesService.VerifyResponse> listener,
java.util.List<DiscoveryNode> nodes,
java.util.concurrent.CopyOnWriteArrayList<VerificationFailure> errors) |
void |
verify(java.lang.String repository,
java.lang.String verificationToken,
ActionListener<RepositoriesService.VerifyResponse> listener) |
logDeprecatedSetting, logRemovedSetting, nodeName
public static final java.lang.String ACTION_NAME
public VerifyNodeRepositoryAction(Settings settings, TransportService transportService, ClusterService clusterService, RepositoriesService repositoriesService)
public void verify(java.lang.String repository, java.lang.String verificationToken, ActionListener<RepositoriesService.VerifyResponse> listener)
public void finishVerification(ActionListener<RepositoriesService.VerifyResponse> listener, java.util.List<DiscoveryNode> nodes, java.util.concurrent.CopyOnWriteArrayList<VerificationFailure> errors)