|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.osmosis.core.merge.v0_6.impl.ChangeSimplifierImpl
public class ChangeSimplifierImpl
Looks at a sorted change stream and condenses multiple changes for a single entity into a single change.
Constructor Summary | |
---|---|
ChangeSimplifierImpl()
Creates a new instance. |
Method Summary | |
---|---|
void |
complete()
Ensures that all information is fully persisted. |
void |
process(ChangeContainer change)
Process the change. |
void |
release()
Performs resource cleanup tasks such as closing files, or database connections. |
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 ChangeSimplifierImpl()
Method Detail |
---|
public void process(ChangeContainer change)
process
in interface ChangeSink
change
- The change to be processed.public void complete()
complete
in interface Completable
public void release()
release
in interface Releasable
public void setChangeSink(ChangeSink changeSink)
setChangeSink
in interface ChangeSource
changeSink
- The sink for receiving all produced data.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |