public class CascadeTracker 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 |
|---|
CascadeTracker(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 CascadeTracker(Properties p, SOLRAPIClient client, String coreName, InformationServer informationServer)
protected void doTrack()
throws org.alfresco.httpclient.AuthenticationException,
IOException,
org.json.JSONException,
org.apache.commons.codec.EncoderException
AbstractTrackerdoTrack in class AbstractTrackerorg.alfresco.httpclient.AuthenticationExceptionIOExceptionorg.json.JSONExceptionorg.apache.commons.codec.EncoderExceptionpublic boolean hasMaintenance()
public void invalidateState()
invalidateState in interface TrackerinvalidateState in class AbstractTrackerCopyright © 2005–2020 Alfresco Software. All rights reserved.