|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openstreetmap.osmosis.core.pgsql.v0_6.impl.InMemoryNodeLocationStore
public class InMemoryNodeLocationStore
An in-memory node location store implementation.
| Constructor Summary | |
|---|---|
InMemoryNodeLocationStore()
Creates a new instance. |
|
| Method Summary | |
|---|---|
void |
addLocation(long nodeId,
NodeLocation nodeLocation)
Adds the specified node location details. |
NodeLocation |
getNodeLocation(long nodeId)
Gets the location details of the specified node. |
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 InMemoryNodeLocationStore()
| Method Detail |
|---|
public void addLocation(long nodeId,
NodeLocation nodeLocation)
addLocation in interface NodeLocationStorenodeId - The node identifier.nodeLocation - The geo-spatial location details.public NodeLocation getNodeLocation(long nodeId)
getNodeLocation in interface NodeLocationStorenodeId - The node identifier.
public void release()
release in interface Releasable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||