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()
WorkerObserver
preLoad
in interface WorkerObserver
public void postSave()
WorkerObserver
postSave
in interface WorkerObserver
public void preApplication()
WorkerObserver
preApplication
in interface WorkerObserver
public void postApplication()
WorkerObserver
postApplication
in interface WorkerObserver
public void preSuperstep(long superstep)
WorkerObserver
preSuperstep
in interface WorkerObserver
superstep
- number of supersteppublic void postSuperstep(long superstep)
WorkerObserver
postSuperstep
in interface WorkerObserver
superstep
- number of supersteppublic ImmutableClassesGiraphConfiguration getConf()
ImmutableClassesGiraphConfigurable
getConf
in interface ImmutableClassesGiraphConfigurable
public void setConf(ImmutableClassesGiraphConfiguration configuration)
GiraphConfigurationSettable
setConf
in interface GiraphConfigurationSettable
configuration
- Set configurationCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.