Examples of waitForComplete()


Examples of com.vmware.bdd.plugin.ambari.poller.HostBootstrapPoller.waitForComplete()

         HostBootstrapPoller poller =
               new HostBootstrapPoller(apiManager, apiBootstrapRequest,
                     clusterDef.getCurrentReport(), reportQueue,
                     ProgressSplit.CREATE_BLUEPRINT.getProgress());
         poller.waitForComplete();
         logger.debug("Bootstrap request id: " + apiBootstrapRequest.getRequestId());

         boolean success = false;
         boolean allHostsBootstrapped = true;
         ApiBootstrapStatus apiBootstrapStatus =
View Full Code Here

Examples of com.volantis.map.agent.MediaAgent.waitForComplete()

       
        // Do nothing, if there's no MediaAgent instance associated with page
        // context.
        if (mediaAgent != null) {
            try {
                mediaAgent.waitForComplete();
            } catch (MediaAgentException e) {
                logger.error("rendering-error", getTagName(), e);
   
                throw new XDIMEException(exceptionLocalizer.format(
                        "rendering-error", getTagName()), e);
View Full Code Here

Examples of com.volantis.map.agent.MediaAgent.waitForComplete()

        // Do nothing, if there's no MediaAgent instance associated with page
        // context.
        if (mediaAgent != null) {
            try {
                mediaAgent.waitForComplete();
            } catch (MediaAgentException e) {
                logger.error("rendering-error", getTagName(), e);

                throw new XDIMEException(exceptionLocalizer.format(
                        "rendering-error", getTagName()), e);
View Full Code Here

Examples of com.volantis.map.agent.MediaAgent.waitForComplete()

        // Do nothing, if there's no MediaAgent instance associated with page
        // context.
        if (mediaAgent != null) {
            try {
                mediaAgent.waitForComplete();
            } catch (MediaAgentException e) {
                logger.error("rendering-error", "CanvasElement", e);

                throw new PAPIException(exceptionLocalizer.format(
                        "rendering-error", "CanvasElement"), e);
View Full Code Here

Examples of com.volantis.map.agent.impl.DefaultMediaAgent.waitForComplete()

            MediaAgent.OUTPUT_URL_PARAMETER_NAME,
            "http://example.com/" + "1234-5678-90");
        expectedOutputParams.put(
            "an-extra-output-parameter", "value-of-the-extra-param");

        agent.waitForComplete();
        checkExpectedOutputParameters(responseCallback, expectedOutputParams);
    }

    public void testSimpleSingle() throws Exception {
        final MediaAgent agent = new DefaultMediaAgent(
View Full Code Here

Examples of com.volantis.map.agent.impl.DefaultMediaAgent.waitForComplete()

            MediaAgent.OUTPUT_URL_PARAMETER_NAME,
            "http://example.com/" + "1234-5678-90");
        expectedOutputParams.put(
            "an-extra-output-parameter", "value-of-the-extra-param");

        agent.waitForComplete(requestId);
        checkExpectedOutputParameters(responseCallback, expectedOutputParams);
    }

    public void testSimpleSet() throws Exception {
        final MediaAgent agent = new DefaultMediaAgent(
View Full Code Here

Examples of com.volantis.map.agent.impl.DefaultMediaAgent.waitForComplete()

            MediaAgent.OUTPUT_URL_PARAMETER_NAME,
            "http://example.com/" + "1234-5678-90");
        expectedOutputParams.put(
            "an-extra-output-parameter", "value-of-the-extra-param");

        agent.waitForComplete(Collections.singleton(requestId));
        checkExpectedOutputParameters(responseCallback, expectedOutputParams);
    }

    public void testMultipleCall() throws Exception {
        final MediaAgent agent = new DefaultMediaAgent(
View Full Code Here

Examples of com.volantis.map.agent.impl.DefaultMediaAgent.waitForComplete()

            MediaAgent.OUTPUT_URL_PARAMETER_NAME,
            "http://example.com/" + "1234-5678-90");
        expectedOutputParams.put(
            "an-extra-output-parameter", "value-of-the-extra-param");

        agent.waitForComplete(requestId);
        checkExpectedOutputParameters(responseCallback, expectedOutputParams);
        responseCallback.failOnExecute(true);
        agent.waitForComplete(requestId);
    }
View Full Code Here

Examples of com.volantis.map.agent.impl.DefaultMediaAgent.waitForComplete()

            "an-extra-output-parameter", "value-of-the-extra-param");

        agent.waitForComplete(requestId);
        checkExpectedOutputParameters(responseCallback, expectedOutputParams);
        responseCallback.failOnExecute(true);
        agent.waitForComplete(requestId);
    }

    private void checkExpectedOutputParameters(
                final ResponseCallbackStub responseCallback,
                final Map expectedOutputParams)
View Full Code Here

Examples of org.apache.manifoldcf.authorities.system.AuthRequest.waitForComplete()

          AuthRequest ar = authRequests.get(ac.getName());

          if (Logging.authorityService.isDebugEnabled())
            Logging.authorityService.debug("Waiting for answer from connector class '"+ac.getClassName()+"' for user '"+userID+"'");

          ar.waitForComplete();

          if (Logging.authorityService.isDebugEnabled())
            Logging.authorityService.debug("Received answer from connector class '"+ac.getClassName()+"' for user '"+userID+"'");

          Throwable exception = ar.getAnswerException();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.