HCE Project Python language Distributed Tasks Manager Application, Distributed Crawler Application and client API bindings.
2.0.0-chaika
Hierarchical Cluster Engine Python language binding
|
Public Member Functions | |
def | __init__ (self) |
def | process (self, proxyUpdates, queryCallback) |
def | updateProxy (self, proxyUpdate, queryCallback) |
Public Member Functions inherited from dc_db.BaseTask.BaseTask | |
def | isSiteExist (self, siteId, queryCallback, userId=None) |
def | generateCriterionSQL (self, criterions, additionWhere=None, siteId=None) |
def | fetchByCriterions (self, criterions, queryCallback) |
def | dbLock (self, mutexName, queryCallback, sleepTime=1, mutexLockTTL=Constants.DEFAULT_LOCK_TTL) |
def | dbUnlock (self, mutexName, queryCallback) |
def | createUrlsInsertQuery (self, siteId, localKeys, localValues) |
def | copyUrlsToDcUrls (self, siteId, queryCallback) |
def | statisticLogUpdate (self, localObj, urlMd5, siteId, status, queryCallback, isInsert=False) |
def | calculateMd5FormUrl (self, url, urlType, useNormilize=False) |
Additional Inherited Members | |
Static Public Member Functions inherited from dc_db.BaseTask.BaseTask | |
def | readValueFromSiteProp (siteId, propName, queryCallback, urlMd5=None) |
Definition at line 21 of file ProxyUpdateTask.py.
def dc_db.ProxyUpdateTask.ProxyUpdateTask.__init__ | ( | self | ) |
Definition at line 26 of file ProxyUpdateTask.py.
def dc_db.ProxyUpdateTask.ProxyUpdateTask.process | ( | self, | |
proxyUpdates, | |||
queryCallback | |||
) |
Definition at line 35 of file ProxyUpdateTask.py.
def dc_db.ProxyUpdateTask.ProxyUpdateTask.updateProxy | ( | self, | |
proxyUpdate, | |||
queryCallback | |||
) |
Definition at line 51 of file ProxyUpdateTask.py.