public abstract class AbstractLongProcessReporter extends Object implements LongProcessReporter
LongProcessReporter.DefaultLongProcessReporter| Modifier and Type | Field and Description |
|---|---|
static long |
DEFAULT_REPORTING_INTERVAL
1 second
|
static double |
DEFAULT_REPORTING_PROGRESS_DELTA |
NULL| Constructor and Description |
|---|
AbstractLongProcessReporter() |
AbstractLongProcessReporter(long minimalReportingInterval,
double minimalReportingProgressDelta) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
report(long id,
String name,
double progress) |
LongProcess |
start(String name) |
static LongProcessReporter |
stderrReporter() |
public static final long DEFAULT_REPORTING_INTERVAL
public static final double DEFAULT_REPORTING_PROGRESS_DELTA
public AbstractLongProcessReporter()
public AbstractLongProcessReporter(long minimalReportingInterval,
double minimalReportingProgressDelta)
public abstract void report(long id,
String name,
double progress)
public LongProcess start(String name)
start in interface LongProcessReporterpublic static LongProcessReporter stderrReporter()
Copyright © 2018. All rights reserved.