|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openstreetmap.osmosis.core.change.v0_5.ChangeDeriver
public class ChangeDeriver
Compares two different data sources and produces a set of differences.
| Constructor Summary | |
|---|---|
ChangeDeriver(int inputBufferCapacity)
Creates a new instance. |
|
| Method Summary | |
|---|---|
Sink |
getSink(int instance)
Obtains one of the sinks exposed by the task. |
int |
getSinkCount()
This implementation always returns 2. |
void |
run()
Processes the input sources and sends the changes to the change sink. |
void |
setChangeSink(ChangeSink changeSink)
Sets the change sink to send data to. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChangeDeriver(int inputBufferCapacity)
inputBufferCapacity - The size of the buffers to use for input sources.| Method Detail |
|---|
public Sink getSink(int instance)
getSink in interface MultiSinkinstance - The index of the sink to be returned.
public int getSinkCount()
getSinkCount in interface MultiSinkpublic void setChangeSink(ChangeSink changeSink)
setChangeSink in interface ChangeSourcechangeSink - The sink for receiving all produced data.public void run()
run in interface java.lang.Runnable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||