public class ReactiveJMapHistoDumper extends DefaultImmutableClassesGiraphConfigurable implements MasterObserver, WorkerObserver
| Constructor and Description |
|---|
ReactiveJMapHistoDumper() |
| Modifier and Type | Method and Description |
|---|---|
void |
applicationFailed(Exception e)
If there is an error during the application.
|
void |
postApplication()
After application ends.
|
void |
postSave()
Finalize the observer.
|
void |
postSuperstep(long superstep)
After each superstep ends.
|
void |
preApplication()
Before application begins.
|
void |
preLoad()
Initialize the observer.
|
void |
preSuperstep(long superstep)
Before each superstep starts.
|
void |
setConf(ImmutableClassesGiraphConfiguration configuration)
Set the configuration to be used by this object.
|
void |
startSupervisorThread()
Start the supervisor thread
|
void |
superstepMetricsUpdate(long superstep,
AggregatedMetrics aggregatedMetrics,
List<PartitionStats> partitionStatsList)
Called after each superstep with aggregated metrics from workers
|
getConfclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConfpublic void preLoad()
WorkerObserverpreLoad in interface WorkerObserverpublic void postSave()
WorkerObserverpostSave in interface WorkerObserverpublic void preApplication()
MasterObserverpreApplication in interface MasterObserverpreApplication in interface WorkerObserverpublic void postApplication()
MasterObserverpostApplication in interface MasterObserverpostApplication in interface WorkerObserverpublic void startSupervisorThread()
public void preSuperstep(long superstep)
MasterObserverpreSuperstep in interface MasterObserverpreSuperstep in interface WorkerObserversuperstep - The superstep numberpublic void postSuperstep(long superstep)
MasterObserverpostSuperstep in interface MasterObserverpostSuperstep in interface WorkerObserversuperstep - The superstep numberpublic void superstepMetricsUpdate(long superstep,
AggregatedMetrics aggregatedMetrics,
List<PartitionStats> partitionStatsList)
MasterObserversuperstepMetricsUpdate in interface MasterObserversuperstep - Supsertep numberaggregatedMetrics - MetricspartitionStatsList - List of partition statspublic void applicationFailed(Exception e)
MasterObserverapplicationFailed in interface MasterObservere - Exception that caused failure. May be null.public void setConf(ImmutableClassesGiraphConfiguration configuration)
GiraphConfigurationSettablesetConf in interface GiraphConfigurationSettablesetConf in class DefaultImmutableClassesGiraphConfigurableconfiguration - Set configurationCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.