org.compass.gps
Interface ActiveMirrorGpsDevice

All Superinterfaces:
CompassGpsDevice, MirrorDataChangesGpsDevice
All Known Subinterfaces:
JdbcActiveMirrorGpsDevice
All Known Implementing Classes:
AbstractJdbcActiveMirrorGpsDevice, ResultSetJdbcGpsDevice, ScheduledMirrorGpsDevice

public interface ActiveMirrorGpsDevice
extends MirrorDataChangesGpsDevice

An active mirror gps device, meaning that in order to perform the mirror operation, one must actively call the performMirroring() method.

Compass::Gps provides a way to schedule active mirror gps devices by using the ScheduledMirrorGpsDevice gps device wrapper.

Author:
kimchy
See Also:
ScheduledMirrorGpsDevice

Method Summary
 void performMirroring()
          Perform the actual data changes mirror operation.
 
Methods inherited from interface org.compass.gps.MirrorDataChangesGpsDevice
isMirrorDataChanges, setMirrorDataChanges
 
Methods inherited from interface org.compass.gps.CompassGpsDevice
getGps, getName, index, injectGps, isPerformingIndexOperation, isRunning, refresh, setName, shouldMirrorDataChanges, start, stop
 

Method Detail

performMirroring

void performMirroring()
                      throws CompassGpsException
Perform the actual data changes mirror operation. The operation will detect all the changes made to the data source since the last indexing/mirroring operation and reflect it to the index.

Throws:
CompassGpsException


Copyright (c) 2004-2009 The Compass Project.