public RTaskResult getResult()

in src/main/java/com/revo/deployr/client/broker/impl/RTaskTokenImpl.java [45:62]


    public RTaskResult getResult()
            throws InterruptedException,
            CancellationException,
            ExecutionException {

        if (result != null) {
            return result;
        } else {
            while (future == null) {
                try {
                    Thread.currentThread().sleep(25);
                } catch (InterruptedException iex) {
                    throw iex;
                }
            }
            return (RTaskResult) future.get();
        }
    }