Package | Description |
---|---|
com.google.enterprise.connector.util.diffing |
The
diffing package provides a framework for writing
connectors to repositories that do not provide information about
added, deleted, or updated documents. |
Modifier and Type | Method and Description |
---|---|
static void |
SnapshotStore.stitch(java.io.File snapshotDir,
MonitorCheckpoint checkpoint,
DocumentSnapshotFactory documentSnapshotFactory) |
Constructor and Description |
---|
DocumentSnapshotRepositoryMonitor(java.lang.String name,
SnapshotRepository<? extends DocumentSnapshot> query,
SnapshotStore snapshotStore,
DocumentSnapshotRepositoryMonitor.Callback callback,
DocumentSink documentSink,
MonitorCheckpoint initialCp,
DocumentSnapshotFactory documentSnapshotFactory)
Creates a DocumentSnapshotRepositoryMonitor that monitors the
Repository rooted at
root . |
DocumentSnapshotRepositoryMonitorManagerImpl(java.util.List<? extends SnapshotRepository<? extends DocumentSnapshot>> repositories,
DocumentSnapshotFactory documentSnapshotFactory,
java.io.File snapshotDir,
ChecksumGenerator checksumGenerator,
ChangeQueue changeQueue,
CheckpointAndChangeQueue checkpointAndChangeQueue)
Constructs
DocumentSnapshotRepositoryMonitorManagerImpl
for the DiffingConnector . |
SnapshotReader(java.io.BufferedReader in,
java.lang.String inputPath,
long snapshotNumber,
DocumentSnapshotFactory documentSnapshotFactory)
Constructs a SnapshotReader.
|
SnapshotStore(java.io.File snapshotDirectory,
DocumentSnapshotFactory documentSnapshotFactory) |