public class ContentTracker extends ActivatableTracker
Tracker.Type| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
log |
IS_ENABLEDalfrescoVersion, batchCount, client, coreName, infoSrv, isMaster, isSlave, props, rollback, rollbackCausedBy, 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, trackerId, trackerStats, transformContent, type| Constructor and Description |
|---|
ContentTracker(Properties p,
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() |
clearScheduledMaintenanceWork, disable, enable, isDisabled, isEnabled, logAndClear, trackcheckShutdown, getAlfrescoVersion, getMaxLiveSearchers, getProps, getRollback, getRollbackCausedBy, getRunLock, getTrackerState, getType, getWriteLock, isAlreadyInShutDownMode, setRollback, setShutdown, shutdown, waitForAsynchronouspublic ContentTracker(Properties p, SOLRAPIClient client, String coreName, InformationServer informationServer)
protected void doTrack()
throws Exception
AbstractTrackerdoTrack in class AbstractTrackerExceptionpublic boolean hasMaintenance()
public void maintenance()
public void invalidateState()
invalidateState in interface TrackerinvalidateState in class AbstractTrackerCopyright © 2005–2020 Alfresco Software. All rights reserved.