org.compass.gps
Interface MirrorDataChangesGpsDevice

All Superinterfaces:
CompassGpsDevice
All Known Subinterfaces:
ActiveMirrorGpsDevice, JdbcActiveMirrorGpsDevice, PassiveMirrorGpsDevice
All Known Implementing Classes:
AbstractJdbcActiveMirrorGpsDevice, AbstractMirrorGpsDevice, AbstractMirrorGpsDeviceWrapper, Hibernate3GpsDevice, HibernateGpsDevice, Jdo2GpsDevice, JpaGpsDevice, OjbGpsDevice, ResultSetJdbcGpsDevice, ScheduledMirrorGpsDevice, SpringHibernate3GpsDevice, SpringOjbGpsDevice

public interface MirrorDataChangesGpsDevice
extends CompassGpsDevice

A Gps Device that can also perform mirroring operation. Mirror operations means that the device can reflect real time data changes done in the data source to the index. In other words, the device can detect all the changes made to the data source since the last indexing/mirroring operation and reflect it to the index.

Author:
kimchy

Method Summary
 boolean isMirrorDataChanges()
          Should the device perform real time data mirroring.
 void setMirrorDataChanges(boolean mirrorDataChanges)
          Sets if the device will perform real time data changes mirroring.
 
Methods inherited from interface org.compass.gps.CompassGpsDevice
getGps, getName, index, injectGps, isPerformingIndexOperation, isRunning, setName, shouldMirrorDataChanges, start, stop
 

Method Detail

isMirrorDataChanges

boolean isMirrorDataChanges()
Should the device perform real time data mirroring.

Returns:
true if the device mirror data changes

setMirrorDataChanges

void setMirrorDataChanges(boolean mirrorDataChanges)
Sets if the device will perform real time data changes mirroring.

Parameters:
mirrorDataChanges - Should the device mirror data changes


Copyright (c) 2004-2008 The Compass Project.