|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.osmosis.extract.apidb.v0_6.DatabaseTimeLoader
public class DatabaseTimeLoader
Loads the current time from the database. This avoids relying on the clock of this system which may be different. If this system was to skew ahead of the database server it may be possible for data to be missed during extraction operations.
Constructor Summary | |
---|---|
DatabaseTimeLoader(DatabaseLoginCredentials loginCredentials)
Creates a new instance. |
Method Summary | |
---|---|
java.util.Date |
getDatabaseTime()
Gets the current system time according to the database server. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DatabaseTimeLoader(DatabaseLoginCredentials loginCredentials)
loginCredentials
- Contains all information required to connect to the database.Method Detail |
---|
public java.util.Date getDatabaseTime()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |