public interface DocumentSnapshotRepositoryMonitorManager
DocumentSnapshotRepositoryMonitor
threads.Modifier and Type | Method and Description |
---|---|
void |
acceptGuarantees(java.util.Map<java.lang.String,MonitorCheckpoint> guarantees)
Receives information specifying what is guaranteed to be delivered to GSA.
|
void |
clean()
Removes persisted state for
DocumentSnapshotRepositoryMonitor
threads. |
CheckpointAndChangeQueue |
getCheckpointAndChangeQueue()
Returns the
CheckpointAndChangeQueue for this
DocumentSnapshotRepositoryMonitorManager |
int |
getThreadCount()
Returns the number of
DocumentSnapshotRepositoryMonitor threads
that are alive. |
boolean |
isRunning()
Returns whether we are after a start() call and before a stop().
|
void |
setTraversalSchedule(TraversalSchedule traversalSchedule)
Receives
TraversalSchedule from TraversalManager which is
TraversalScheduleAware . |
void |
start(java.lang.String checkpoint)
Ensures all monitor threads are running.
|
void |
stop()
Stops all the configured
DocumentSnapshotRepositoryMonitor threads. |
void start(java.lang.String checkpoint) throws RepositoryException
checkpoint
- for the last completed document or null if none have
been completed.RepositoryException
void stop()
DocumentSnapshotRepositoryMonitor
threads.void clean()
DocumentSnapshotRepositoryMonitor
threads. After calling this DocumentSnapshotRepositoryMonitor
threads will no longer be able to resume from where they left off last
time.int getThreadCount()
DocumentSnapshotRepositoryMonitor
threads
that are alive. This method is for testing purposes.CheckpointAndChangeQueue getCheckpointAndChangeQueue()
CheckpointAndChangeQueue
for this
DocumentSnapshotRepositoryMonitorManager
boolean isRunning()
void acceptGuarantees(java.util.Map<java.lang.String,MonitorCheckpoint> guarantees)
void setTraversalSchedule(TraversalSchedule traversalSchedule)
TraversalSchedule
from TraversalManager which is
TraversalScheduleAware
.