Class ElasticSearchAction

    • Constructor Detail

      • ElasticSearchAction

        public ElasticSearchAction​(org.apache.http.client.HttpClient client,
                                   ElasticSearchConfig config)
                            throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
        Throws:
        org.apache.manifoldcf.core.interfaces.ManifoldCFException
    • Method Detail

      • executeGET

        public void executeGET​(ElasticSearchAction.CommandEnum cmd,
                               boolean checkConnection)
                        throws org.apache.manifoldcf.core.interfaces.ManifoldCFException,
                               org.apache.manifoldcf.agents.interfaces.ServiceInterruption
        Throws:
        org.apache.manifoldcf.core.interfaces.ManifoldCFException
        org.apache.manifoldcf.agents.interfaces.ServiceInterruption
      • executePOST

        public void executePOST​(ElasticSearchAction.CommandEnum cmd,
                                boolean checkConnection)
                         throws org.apache.manifoldcf.core.interfaces.ManifoldCFException,
                                org.apache.manifoldcf.agents.interfaces.ServiceInterruption
        Throws:
        org.apache.manifoldcf.core.interfaces.ManifoldCFException
        org.apache.manifoldcf.agents.interfaces.ServiceInterruption
      • handleIOException

        protected void handleIOException​(java.io.IOException e)
                                  throws org.apache.manifoldcf.core.interfaces.ManifoldCFException,
                                         org.apache.manifoldcf.agents.interfaces.ServiceInterruption
        Overrides:
        handleIOException in class ElasticSearchConnection
        Throws:
        org.apache.manifoldcf.core.interfaces.ManifoldCFException
        org.apache.manifoldcf.agents.interfaces.ServiceInterruption