public class TopologyBuilder extends Object
构造器和说明 |
---|
TopologyBuilder() |
限定符和类型 | 方法和说明 |
---|---|
LoggedNetworkTopology |
build()
Request the builder to build the final object.
|
void |
process(HistoryEvent event)
Process one
HistoryEvent |
void |
process(Properties conf)
Process a collection of JobConf
Properties . |
public void process(HistoryEvent event)
HistoryEvent
event
- The HistoryEvent
to be processed.public void process(Properties conf)
Properties
. We do not restrict it
to be called once.conf
- The job conf properties to be added.public LoggedNetworkTopology build()
TopologyBuilder
would accept no more events or job-conf properties.LoggedNetworkTopology
object.Copyright © 2009 The Apache Software Foundation