Examples of pause()


Examples of org.apache.sandesha2.RMMsgContext.pause()


    String action = msgCtx.getOptions().getAction();
    if (action!=null && action.equals(SpecSpecificConstants.getAckRequestAction(rmMsgCtx.getRMSpecVersion()))) {
      returnValue = true;
      rmMsgCtx.pause();
    }

    if (log.isDebugEnabled())
      log.debug("Exit: AcknowledgementProcessor::processAckHeader " + returnValue);
    return returnValue;
View Full Code Here

Examples of org.apache.servicemix.wsn.client.Subscription.pause()

        // Wait for notification
        Thread.sleep(150);

        assertEquals(1, pullPoint.getMessages(0).size());

        subscription.pause();

        wsnBroker.notify("myTopic", new Notify());
        // Wait for notification
        Thread.sleep(150);
View Full Code Here

Examples of org.apache.uima.collection.impl.base_cpm.container.ProcessingContainer.pause()

          {
            threadState = 2011;

            // Pause the container while the CPM is re-connecting to un-managed service
            // that is shared by all processing threads
            container.pause();
            maybeLogFinest("UIMA_CPM_pausing_container__FINEST", container);
            threadId = Thread.currentThread().getName();
          }

          if (processor instanceof CasDataProcessor
View Full Code Here

Examples of org.apache.ws.notification.base.Subscription.pause()

   public PauseSubscriptionResponseDocument pauseSubscription( PauseSubscriptionDocument requestDoc )
   {
      Subscription subscription = (Subscription) getResource(  );
      try
      {
         subscription.pause(  );
      }
      catch ( Exception e )
      {
         throw new PauseFailedFaultException( NAMESPACE_SET,
                                              "Pause failed on subscription: " + subscription.getID(  ) );
View Full Code Here

Examples of org.bff.javampd.MPDPlayer.pause()

      try {
        pCommand = PlayerCommandTypeMapping.fromString(playerCommand);
        MPDPlayer player = daemon.getMPDPlayer();
       
        switch (pCommand) {
          case PAUSE: player.pause(); break;
          case PLAY: player.play(); break;
          case STOP: player.stop(); break;
          case VOLUME_INCREASE: player.setVolume(player.getVolume() + VOLUME_CHANGE_SIZE); break;
          case VOLUME_DECREASE: player.setVolume(player.getVolume() - VOLUME_CHANGE_SIZE); break;
          case NEXT: player.playNext(); break;
View Full Code Here

Examples of org.encog.neural.networks.training.propagation.back.Backpropagation.pause()

   
    // train network 2, continue
    Backpropagation rprop2 = new Backpropagation(network2,trainingData,0.4,0.4);
    rprop2.iteration();
    rprop2.iteration();
    TrainingContinuation state = rprop2.pause();
    rprop2 = new Backpropagation(network2,trainingData,0.4,0.4);
    rprop2.resume(state);
    rprop2.iteration();
    rprop2.iteration();
   
View Full Code Here

Examples of org.encog.neural.networks.training.propagation.resilient.ResilientPropagation.pause()

    rprop1.iteration();
   
    rprop2.iteration();
    rprop2.iteration();
   
    TrainingContinuation cont = rprop2.pause();
   
    ResilientPropagation rprop3 = new ResilientPropagation(net2,trainingSet);
    rprop3.resume(cont);
   
    rprop1.iteration();
View Full Code Here

Examples of org.globus.workspace.service.InstanceResource.pause()

                        break;
                    case t_SHUTDOWN_SAVE:
                        resource.shutdownSave(tasks);
                        break;
                    case t_PAUSE:
                        resource.pause(tasks);
                        break;
                    case t_SERIALIZE:
                        resource.serialize(tasks);
                        break;
                    case t_REBOOT:
View Full Code Here

Examples of org.graylog2.restclient.models.Node.pause()

    public Result pauseMessageProcessing() {
        try {
            Http.RequestBody body = request().body();
            final String nodeId = body.asFormUrlEncoded().get("node_id")[0];
            final Node node = nodeService.loadNode(nodeId);
            node.pause();
            return ok();
        } catch (IOException e) {
            return internalServerError("io exception");
        } catch (APIException e) {
            return internalServerError("api exception " + e);
View Full Code Here

Examples of org.gstreamer.elements.PlayBin2.pause()

        };
        audio.connect(handoff);
        video.connect(handoff);
       
        // Start the pipeline playing
        pipe.pause();
        try {
            done.await();
        } catch (InterruptedException ex) {
        }
        pipe.stop();
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.