|
|||||||||
| 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.DataPostboxChangeSink
public class DataPostboxChangeSink
A change sink that writes all of its data to a postbox to be read by another thread.
| Constructor Summary | |
|---|---|
DataPostboxChangeSink(DataPostbox<ChangeContainer> postbox)
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataPostboxChangeSink(DataPostbox<ChangeContainer> postbox)
postbox - The postbox to write all incoming data into.| Method Detail |
|---|
public void process(ChangeContainer change)
process in interface ChangeSinkchange - The change to be processed.public void complete()
complete in interface Completablepublic void release()
release in interface Releasable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||