List of usage examples for org.eclipse.jgit.internal.ketch Proposal await
public boolean await(long wait, TimeUnit unit) throws InterruptedException
From source file:org.uberfire.java.nio.fs.jgit.util.commands.RefTreeUpdateCommand.java
License:Apache License
private void waitForPropose(final Proposal proposal) throws InterruptedException { while (!proposal.await(250, MILLISECONDS)) { System.out.println("waiting propose..."); }/* w w w . j a v a2 s .c o m*/ }