|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compass.gps.device.AbstractGpsDevice
org.compass.gps.device.jdbc.AbstractJdbcGpsDevice
org.compass.gps.device.jdbc.AbstractJdbcActiveMirrorGpsDevice
public abstract class AbstractJdbcActiveMirrorGpsDevice
A helper base class for Jdbc active mirror gps device.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.compass.gps.device.jdbc.AbstractJdbcGpsDevice |
|---|
AbstractJdbcGpsDevice.IndexExecution |
| Field Summary |
|---|
| Fields inherited from class org.compass.gps.device.jdbc.AbstractJdbcGpsDevice |
|---|
dataSource, dialect, log |
| Fields inherited from class org.compass.gps.device.AbstractGpsDevice |
|---|
compassGps |
| Constructor Summary | |
|---|---|
AbstractJdbcActiveMirrorGpsDevice()
|
|
| Method Summary | |
|---|---|
JdbcSnapshotEventListener |
getSnapshotEventListener()
Returns the jdbc snapshot event listener that will handle database change events. |
JdbcSnapshotPersister |
getSnapshotPersister()
Returns the snapshot persister that will persist and load the snapshot information. |
boolean |
isMirrorDataChanges()
Should the device perform real time data mirroring. |
boolean |
isSaveSnapshotAfterMirror()
Should the snapshot be saved/persisted after each mirroring operation. |
void |
setMirrorDataChanges(boolean mirrorDataChanges)
Sets if the device will perform real time data changes mirroring. |
void |
setSaveSnapshotAfterMirror(boolean saveSnapshotAfterMirror)
Sets if the snapshot be saved/persisted after each mirroring operation. |
void |
setSnapshotEventListener(JdbcSnapshotEventListener snapshotEventListener)
Sets the jdbc snapshot event listener that will handle database change events. |
void |
setSnapshotPersister(JdbcSnapshotPersister snapshotPersister)
Sets the snapshot persister that will persist and load the snapshot information. |
| Methods inherited from class org.compass.gps.device.jdbc.AbstractJdbcGpsDevice |
|---|
doGetIndexExecutions, doIndex, doStart, getDataSource, getDialect, getFetchSize, processResultSet, processRow, processRowValue, setDataSource, setDialect, setFetchSize |
| Methods inherited from class org.compass.gps.device.AbstractGpsDevice |
|---|
buildMessage, doIndex, doStop, getGps, getName, index, injectGps, isFilteredForIndex, isPerformingIndexOperation, isRunning, refresh, setFilteredEntitiesForIndex, setName, shouldMirrorDataChanges, start, stop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.compass.gps.device.jdbc.JdbcGpsDevice |
|---|
getDataSource, getDialect, getFetchSize, setDataSource, setDialect, setFetchSize |
| Methods inherited from interface org.compass.gps.ActiveMirrorGpsDevice |
|---|
performMirroring |
| Constructor Detail |
|---|
public AbstractJdbcActiveMirrorGpsDevice()
| Method Detail |
|---|
public boolean isMirrorDataChanges()
MirrorDataChangesGpsDevice
isMirrorDataChanges in interface MirrorDataChangesGpsDevicetrue if the device mirror data changespublic void setMirrorDataChanges(boolean mirrorDataChanges)
MirrorDataChangesGpsDevice
setMirrorDataChanges in interface MirrorDataChangesGpsDevicemirrorDataChanges - Should the device mirror data changespublic JdbcSnapshotEventListener getSnapshotEventListener()
JdbcActiveMirrorGpsDevice
getSnapshotEventListener in interface JdbcActiveMirrorGpsDevicepublic void setSnapshotEventListener(JdbcSnapshotEventListener snapshotEventListener)
JdbcActiveMirrorGpsDevice
setSnapshotEventListener in interface JdbcActiveMirrorGpsDevicepublic JdbcSnapshotPersister getSnapshotPersister()
JdbcActiveMirrorGpsDevice
getSnapshotPersister in interface JdbcActiveMirrorGpsDevicepublic void setSnapshotPersister(JdbcSnapshotPersister snapshotPersister)
JdbcActiveMirrorGpsDevice
setSnapshotPersister in interface JdbcActiveMirrorGpsDevicepublic boolean isSaveSnapshotAfterMirror()
JdbcActiveMirrorGpsDeviceNote that it is persisted when the gps device stops.
isSaveSnapshotAfterMirror in interface JdbcActiveMirrorGpsDevicetrue if the snapshot should be persisted after each mirroring operation.public void setSaveSnapshotAfterMirror(boolean saveSnapshotAfterMirror)
JdbcActiveMirrorGpsDeviceNote that it is persisted when the gps device stops.
setSaveSnapshotAfterMirror in interface JdbcActiveMirrorGpsDevice
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||