public class ModelTracker extends AbstractTracker implements Tracker
alfrescoVersion, batchCount, client, coreName, infoSrv, isMaster, isSlave, log, props, runPostModelLoadInit, shardCount, shardInstance, shardTemplate, storeRef, threadHandler, TIME_STEP_1_HR_IN_MS, TIME_STEP_32_DAYS_IN_MS, trackerStats, transformContent| Constructor and Description |
|---|
ModelTracker(String solrHome,
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
|
void |
ensureFirstModelSync() |
boolean |
hasModels() |
static File |
locateModelHome(String solrHome) |
void |
trackModels(boolean onlyFirstTime) |
checkShutdown, close, getAlfrescoVersion, getMaxLiveSearchers, getTrackerState, isInAclShard, setShutdown, track, waitForAsynchronousclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, getAlfrescoVersion, getTrackerState, setShutdown, trackpublic ModelTracker(String solrHome, Properties p, org.alfresco.solr.client.SOLRAPIClient client, String coreName, InformationServer informationServer)
protected void doTrack()
throws org.alfresco.httpclient.AuthenticationException,
IOException,
org.json.JSONException
AbstractTrackerdoTrack in class AbstractTrackerorg.alfresco.httpclient.AuthenticationExceptionIOExceptionorg.json.JSONExceptionpublic void trackModels(boolean onlyFirstTime)
throws org.alfresco.httpclient.AuthenticationException,
IOException,
org.json.JSONException
org.alfresco.httpclient.AuthenticationExceptionIOExceptionorg.json.JSONExceptionpublic void ensureFirstModelSync()
public boolean hasModels()
Copyright © 2005–2017 Alfresco Software. All rights reserved.