public class DefaultWorkerObserver extends Object implements WorkerObserver
| Constructor and Description |
|---|
DefaultWorkerObserver() |
| Modifier and Type | Method and Description |
|---|---|
ImmutableClassesGiraphConfiguration |
getConf()
Return the configuration used by this object.
|
void |
postApplication()
Finalize the observer.
|
void |
postSave()
Finalize the observer.
|
void |
postSuperstep(long superstep)
Execute the observer.
|
void |
preApplication()
Initialize the observer.
|
void |
preLoad()
Initialize the observer.
|
void |
preSuperstep(long superstep)
Execute the observer.
|
void |
setConf(ImmutableClassesGiraphConfiguration configuration)
Set the configuration to be used by this object.
|
public void preLoad()
WorkerObserverpreLoad in interface WorkerObserverpublic void postSave()
WorkerObserverpostSave in interface WorkerObserverpublic void preApplication()
WorkerObserverpreApplication in interface WorkerObserverpublic void postApplication()
WorkerObserverpostApplication in interface WorkerObserverpublic void preSuperstep(long superstep)
WorkerObserverpreSuperstep in interface WorkerObserversuperstep - number of supersteppublic void postSuperstep(long superstep)
WorkerObserverpostSuperstep in interface WorkerObserversuperstep - number of supersteppublic ImmutableClassesGiraphConfiguration getConf()
ImmutableClassesGiraphConfigurablegetConf in interface ImmutableClassesGiraphConfigurablepublic void setConf(ImmutableClassesGiraphConfiguration configuration)
GiraphConfigurationSettablesetConf in interface GiraphConfigurationSettableconfiguration - Set configurationCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.