Sha256: f221abd48d19084acdbead8c8754872ea96564ad0fcc92832a2f83f180f5b928

Contents?: true

Size: 466 Bytes

Versions: 17

Compression:

Stored size: 466 Bytes

Contents

package org.jruby.jubilee.deploy;

import java.util.concurrent.CountDownLatch;

/**
 * Created with IntelliJ IDEA.
 * User: isaiah
 * Date: 12/3/12
 * Time: 7:37 PM
 */
public class Starter {
  private CountDownLatch stopLatch = new CountDownLatch(1);

  public void block() {
    while(true) {
      try {
        stopLatch.await();
        break;
      } catch (InterruptedException ignore) {}
    }
  }

  public void unblock() {
    stopLatch.countDown();
  }
}

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
jubilee-1.1.3-java java/src/org/jruby/jubilee/deploy/Starter.java
jubilee-1.1.2-java java/src/org/jruby/jubilee/deploy/Starter.java
jubilee-1.1.0-java java/src/org/jruby/jubilee/deploy/Starter.java
jubilee-1.1.0.rc3 java/src/org/jruby/jubilee/deploy/Starter.java
jubilee-1.1.0.rc2 java/src/org/jruby/jubilee/deploy/Starter.java
jubilee-1.1.0.rc1 java/src/org/jruby/jubilee/deploy/Starter.java
jubilee-1.0.2 java/src/org/jruby/jubilee/deploy/Starter.java
jubilee-1.0.1 java/src/org/jruby/jubilee/deploy/Starter.java
jubilee-1.0.0 java/src/org/jruby/jubilee/deploy/Starter.java
jubilee-1.0.0.beta1 java/src/org/jruby/jubilee/deploy/Starter.java
jubilee-0.5.0 java/src/org/jruby/jubilee/deploy/Starter.java
jubilee-0.4.1 java/src/org/jruby/jubilee/deploy/Starter.java
jubilee-0.4.0 java/src/org/jruby/jubilee/deploy/Starter.java
jubilee-0.2.2 java/src/org/jruby/jubilee/deploy/Starter.java
jubilee-0.2.1 java/src/org/jruby/jubilee/deploy/Starter.java
jubilee-0.2.0 java/src/org/jruby/jubilee/deploy/Starter.java
jubilee-0.1.2 java/src/org/jruby/jubilee/deploy/Starter.java