org.compass.gps.device.jdbc.snapshot
Interface JdbcSnapshotPersister

All Known Implementing Classes:
FSJdbcSnapshotPersister, RAMJdbcSnapshotPersister

public interface JdbcSnapshotPersister

A jdbc snapshot persister, resposible for persisting and loading a JdbcSnapshot from a persistance store. Examples for stores can be RAM and FS (File System).

Author:
kimchy
See Also:
JdbcSnapshotPersister, RAMJdbcSnapshotPersister, FSJdbcSnapshotPersister

Method Summary
 JdbcSnapshot load()
          Loads the jdbc snapshot from the store.
 void save(JdbcSnapshot snapshot)
          Saves the jdbc snapshot to the store.
 

Method Detail

save

void save(JdbcSnapshot snapshot)
          throws JdbcGpsDeviceException
Saves the jdbc snapshot to the store.

Parameters:
snapshot -
Throws:
JdbcGpsDeviceException

load

JdbcSnapshot load()
                  throws JdbcGpsDeviceException
Loads the jdbc snapshot from the store.

Returns:
The jdbc snapshot
Throws:
JdbcGpsDeviceException


Copyright (c) 2004-2009 The Compass Project.