Examples of wakeUp()


Examples of org.apache.activemq.broker.region.Queue.wakeup()

        }

        usage.setFull(false);

        try {
            queue.wakeup();
        } catch(Exception e) {
            LOG.error("Queue threw an unexpected exception: " + e.toString());
            fail("Should not throw an exception.");
        }
    }
View Full Code Here

Examples of org.apache.activemq.thread.TaskRunner.wakeup()

                        }

                        @Override
                        public void wakeup() throws InterruptedException {
                            Thread.sleep(taskRunnerDelay);
                            realTaskRunner.wakeup();
                        }
                    };
                } else {
                    return realTaskRunnerFactory.createTaskRunner(task, name);
                }
View Full Code Here

Examples of org.apache.axis2.jaxws.sample.parallelasync.server.AsyncPort.wakeUp()

            // check the waiting request #1
            String asleep = port.isAsleep(request1);
            //System.out.println(title+"iteration ["+i+"]   port.isAsleep(request1 ["+request1+"]) = ["+asleep+"]");

            // wakeup the waiting request #1
            String wake = port.wakeUp(request1);
            //System.out.println(title+"iteration ["+i+"]   port.wakeUp(request1 ["+request1+"]) = ["+wake+"]");

            // wait until the response for request #1 is done
            waitBlocking(resp1);
       
View Full Code Here

Examples of org.eclipse.core.runtime.jobs.Job.wakeUp()

    // return if it has not started yet, cancel it if already running
    final Job oldJob= fInitializationJob;
    if (oldJob != null) {
      // don't chain up jobs if there is one waiting already.
      if (oldJob.getState() == Job.WAITING) {
        oldJob.wakeUp(INITIALIZE_DELAY);
        return;
      }
      oldJob.cancel();
    }
View Full Code Here

Examples of org.jbox2d.dynamics.Body.wakeUp()

            long cursorID =  de.getDragCursor().getId();

            switch (de.getId()) {
            case DragEvent.GESTURE_DETECTED:
              comp.sendToFront();
              body.wakeUp();
              mouseJoint = createDragJoint(theWorld, body, to.x, to.y);
              comp.setUserData("mouseJoint" + cursorID, mouseJoint);
              break;
            case DragEvent.GESTURE_UPDATED:
              mouseJoint = (MouseJoint) comp.getUserData("mouseJoint" + cursorID);
View Full Code Here

Examples of org.mortbay.io.nio.SelectorManager.SelectSet.wakeup()

                    this.cancel();  
                }

                _endPoint.scheduleIdle()// TODO maybe not needed?
                selectSet.addChange(this);
                selectSet.wakeup();
            }
        }
       
        public void expire()
        {
View Full Code Here

Examples of org.mortbay.io.nio.SelectorManager.SelectSet.wakeup()

                    this.cancel();  
                }

                _endPoint.scheduleIdle()// TODO maybe not needed?
                selectSet.addChange(this);
                selectSet.wakeup();
            }
        }
       
        public void expire()
        {
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.