Examples of stop()


Examples of org.jbpm.pvm.internal.jobexecutor.JobExecutor.stop()

  public void close() {
    JobExecutor jobExecutor = get(JobExecutor.class);
    if (jobExecutor!=null) {
      // stop the job executor and wait till all job executor threads have stopped.
      jobExecutor.stop(true);
    }
    processEngineWireContext.fire(WireContext.EVENT_CLOSE, null);
  }

  // process-engine context delegation methods
View Full Code Here

Examples of org.jbpm.task.service.TaskClient.stop()

        if (taskSummary == null) {
            return;
        }

        BlockingTaskOperationResponseHandler responseHandler = new BlockingTaskOperationResponseHandler();
        client.stop(taskSummary.getId(), userId, responseHandler);
        responseHandler.waitTillDone(3000);
        refresh();
    }

    public void release() {
View Full Code Here

Examples of org.jclouds.virtualbox.functions.admin.PreseedCfgServer.stop()

         } else {
            logger.error("Problem during master creation", e);
            throw e;
         }
      } finally {
         server.stop();
      }

      masters.put(key.getId(), master);
      return master;
   }
View Full Code Here

Examples of org.jdesktop.animation.timing.Animator.stop()

                    new PropertySetter(DemoXPanel.this, "alpha", 0.3f, 1.0f));
            TimingTrigger.addTrigger(fadeOutAnimator, fadeInAnimator, TimingTriggerEvent.STOP);
            fadeOutAnimator.start();
        } catch (Exception ignore) {
            if (fadeOutAnimator != null) fadeOutAnimator.stop();
            if (fadeInAnimator != null) fadeInAnimator.stop();
            if (loadAnimationPanel != null)
               loadAnimationPanel.setAnimating(false);
           
            System.err.println(ignore);
            ignore.printStackTrace();
View Full Code Here

Examples of org.jdesktop.core.animation.timing.Animator.stop()

      public void handleEvent(Event event) {
        if (!animator.isRunning()) {
          push.setText("Stop Animation");
          animator.start();
        } else {
          animator.stop();
          push.setText("Start Animation");
          // reset square color to red
          f_squareColor = display.getSystemColor(SWT.COLOR_RED);
          checkerboard.redraw();
        }
View Full Code Here

Examples of org.jdesktop.wonderland.runner.RunManager.stop()

                        waiters.add(w);
                    }
                }
            } else if (action.equalsIgnoreCase("stop")) {
                for (Runner r : runners) {
                    StatusWaiter w = rm.stop(r, wait);
                    if (w != null) {
                        waiters.add(w);
                    }
                }
            } else if (action.equalsIgnoreCase("restart")) {
View Full Code Here

Examples of org.jenkinsci.plugins.workflow.steps.StepExecution.stop()

                        // and interrupt at an earliest convenience
                        return;
                    }

                    try {
                        s.stop(stopped);
                    } catch (Exception e) {
                        LOGGER.log(Level.WARNING, "Failed to stop " + s, e);
                    }
                }
View Full Code Here

Examples of org.jgroups.blocks.PullPushAdapter.stop()

        channel.connect("testgroup");
        channel.send(new Message(null, null, "payload"));
        Message msg=(Message)msgPromise.getResult(20000);
        assertTrue(msg != null);
        assertEquals("payload", msg.getObject());
        ppa.stop();
        coordinator.close();
        channel.close();
        System.out.println("Remaining threads are:");
        Util.printThreads();
    }
View Full Code Here

Examples of org.jgroups.blocks.RpcDispatcher.stop()

      cache.start();
      // now remove the existing RpcDispatcher and replace with one that is a noop.
      ComponentRegistry cr = TestingUtil.extractComponentRegistry(cache);
      RPCManager rpcManager = cr.getComponent(RPCManager.class);
      RpcDispatcher d = (RpcDispatcher) TestingUtil.extractField(rpcManager, "rpcDispatcher");
      d.stop();
      RpcDispatcher replacement = new NoopDispatcher();
      replacement.setRequestMarshaller(d.getRequestMarshaller());
      replacement.setResponseMarshaller(d.getResponseMarshaller());
      ReflectionUtil.setValue(rpcManager, "rpcDispatcher", replacement);
View Full Code Here

Examples of org.jgroups.debug.ProtocolTester.stop()

            big_msg.setSrc(local_addr);
            System.out.println("sending msg #" + i + " [" + big_msg.getLength() + " bytes]");
            frag_receiver.down(new Event(Event.MSG, big_msg));
            Util.sleep(10);
        }
        t.stop();
    }


    public void testMessagesWithOffsets() throws Exception {
        FragReceiver frag_receiver=new FragReceiver(this);
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.