Package org.elasticsearch.repositories
Class VerifyNodeRepositoryAction
- java.lang.Object
-
- org.elasticsearch.repositories.VerifyNodeRepositoryAction
-
public class VerifyNodeRepositoryAction extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VerifyNodeRepositoryAction.VerifyNodeRepositoryRequest
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ACTION_NAME
-
Constructor Summary
Constructors Constructor Description VerifyNodeRepositoryAction(TransportService transportService, ClusterService clusterService, RepositoriesService repositoriesService)
-
Method Summary
Modifier and Type Method Description void
finishVerification(ActionListener<RepositoriesService.VerifyResponse> listener, java.util.List<DiscoveryNode> nodes, java.util.concurrent.CopyOnWriteArrayList<VerificationFailure> errors)
void
verify(java.lang.String repository, boolean readOnly, java.lang.String verificationToken, ActionListener<RepositoriesService.VerifyResponse> listener)
-
-
-
Field Detail
-
ACTION_NAME
public static final java.lang.String ACTION_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
VerifyNodeRepositoryAction
public VerifyNodeRepositoryAction(TransportService transportService, ClusterService clusterService, RepositoriesService repositoriesService)
-
-
Method Detail
-
verify
public void verify(java.lang.String repository, boolean readOnly, java.lang.String verificationToken, ActionListener<RepositoriesService.VerifyResponse> listener)
-
finishVerification
public void finishVerification(ActionListener<RepositoriesService.VerifyResponse> listener, java.util.List<DiscoveryNode> nodes, java.util.concurrent.CopyOnWriteArrayList<VerificationFailure> errors)
-
-