public class ContentTracker extends AbstractTracker implements Tracker
Tracker.Type| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
log |
alfrescoVersion, batchCount, client, coreName, infoSrv, isMaster, isSlave, props, rollback, runPostModelLoadInit, SHARD_METHOD_ACLID, SHARD_METHOD_DBID, shardCount, shardInstance, shardMethod, shardTemplate, state, storeRef, threadHandler, TIME_STEP_1_HR_IN_MS, TIME_STEP_32_DAYS_IN_MS, trackerStats, transformContent, type| Constructor and Description |
|---|
ContentTracker(Properties p,
org.alfresco.solr.client.SOLRAPIClient client,
String coreName,
InformationServer informationServer) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doTrack()
Subclasses must implement behaviour that completes the following steps, in order:
Purge
Reindex
Index
Track repository
|
boolean |
hasMaintenance() |
void |
invalidateState() |
void |
maintenance() |
checkShutdown, getAlfrescoVersion, getMaxLiveSearchers, getProps, getRollback, getRunLock, getTrackerState, getType, getWriteLock, setRollback, setShutdown, shutdown, track, waitForAsynchronousclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAlfrescoVersion, getProps, getRollback, getTrackerState, getType, getWriteLock, setRollback, setShutdown, shutdown, trackpublic ContentTracker(Properties p, org.alfresco.solr.client.SOLRAPIClient client, String coreName, InformationServer informationServer)
protected void doTrack()
throws Exception
AbstractTrackerdoTrack in class AbstractTrackerExceptionpublic boolean hasMaintenance()
hasMaintenance in interface Trackerpublic void maintenance()
maintenance in interface Trackerpublic void invalidateState()
invalidateState in interface TrackerinvalidateState in class AbstractTrackerCopyright © 2005–2018 Alfresco Software. All rights reserved.