public abstract class ProgressDistributor extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ProgressDistributor.Arithmetic |
static class |
ProgressDistributor.Geometric |
Constructor and Description |
---|
ProgressDistributor() |
Modifier and Type | Method and Description |
---|---|
static <CONTEXT> ProgressDistributable<CONTEXT>[] |
array(ProgressDistributable<CONTEXT>... ops) |
protected abstract void |
distribute(double[] distribution,
double[] times) |
<CONTEXT> void |
run(ProgressDistributable<CONTEXT>[] distributables,
CONTEXT context,
OMMonitor monitor) |
public final <CONTEXT> void run(ProgressDistributable<CONTEXT>[] distributables, CONTEXT context, OMMonitor monitor) throws RuntimeException, WrappedException
RuntimeException
WrappedException
protected abstract void distribute(double[] distribution, double[] times)
public static <CONTEXT> ProgressDistributable<CONTEXT>[] array(ProgressDistributable<CONTEXT>... ops)
Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html