public class OProgressMonitor extends Object implements OStatisticsListener
Source DB Schema building: 100% [..................................................] Elapsed: 00:00:00 Remaining: 00:00:00 Warnings: 0
Graph Model building: 100% [..................................................] Elapsed: 00:00:00 Remaining: 00:00:00 Warnings: 3
OrientDB Schema writing: 100% [..................................................] Elapsed: 00:00:00 Remaining: 00:00:00 Warnings: 5
OrientDB importing: 90% [........................................... ] Elapsed: 00:00:00 Remaining: 00:00:00 Warnings: 5
Constructor and Description |
---|
OProgressMonitor()
initialize progress bar properties.
|
Modifier and Type | Method and Description |
---|---|
String |
getProgressBar(int workDonePercentage) |
void |
initialize() |
String |
printProgressBar(String workTitle,
int workDonePercentage,
String progressBarWork,
long elapsedTime,
int occurredWarnings,
int importedRecords,
int totalRecords) |
String |
updateOnEvent(OTeleporterStatistics statistics)
Called whenever the progress monitor needs to be updated. that is whenever progress
OTeleporterStatistics publishes an event.
|
String |
updateWork1OnEvent(OTeleporterStatistics statistics) |
String |
updateWork2OnEvent(OTeleporterStatistics statistics) |
String |
updateWork3OnEvent(OTeleporterStatistics statistics) |
String |
updateWork4OnEvent(OTeleporterStatistics statistics) |
String |
updateWork5OnEvent(OTeleporterStatistics statistics)
Work5: Building edges on join attributes
|
public String updateOnEvent(OTeleporterStatistics statistics)
updateOnEvent
in interface OStatisticsListener
statistics
- public String updateWork1OnEvent(OTeleporterStatistics statistics)
public String updateWork2OnEvent(OTeleporterStatistics statistics)
public String updateWork3OnEvent(OTeleporterStatistics statistics)
public String updateWork4OnEvent(OTeleporterStatistics statistics)
public String updateWork5OnEvent(OTeleporterStatistics statistics)
public void initialize()
public String printProgressBar(String workTitle, int workDonePercentage, String progressBarWork, long elapsedTime, int occurredWarnings, int importedRecords, int totalRecords)
public String getProgressBar(int workDonePercentage)
Copyright © 2015–2021 OrientDB. All rights reserved.