Definition at line 786 of file EventObjects.py.
◆ __init__()
def dc.EventObjects.Batch.__init__ |
( |
|
self, |
|
|
|
batchId, |
|
|
|
batchItems = None , |
|
|
|
crawlerType = None , |
|
|
|
dbMode = DB_MODE_RW , |
|
|
|
maxIterations = 1 , |
|
|
|
maxItems = None |
|
) |
| |
Definition at line 807 of file EventObjects.py.
807 def __init__(self, batchId, batchItems=None, crawlerType=None, dbMode=DB_MODE_RW, maxIterations=1, maxItems=None):
810 if crawlerType
is None:
811 crawlerType = Batch.TYPE_NORMAL_CRAWLER
812 self.crawlerType = crawlerType
813 if batchItems
is None:
816 self.items = batchItems
817 self.errorMask = APP_CONSTS.ERROR_OK
819 self.maxIterations = maxIterations
820 self.maxItems = maxItems
821 self.maxExecutionTime = 0
822 self.removeUnprocessedItems =
False def __init__(self)
constructor
◆ crawlerType
dc.EventObjects.Batch.crawlerType |
◆ DB_MODE_NO
int dc.EventObjects.Batch.DB_MODE_NO = 0 |
|
static |
◆ DB_MODE_R
int dc.EventObjects.Batch.DB_MODE_R = 1 |
|
static |
◆ DB_MODE_RW
int dc.EventObjects.Batch.DB_MODE_RW = 3 |
|
static |
◆ DB_MODE_W
int dc.EventObjects.Batch.DB_MODE_W = 2 |
|
static |
◆ dbMode
dc.EventObjects.Batch.dbMode |
◆ errorMask
dc.EventObjects.Batch.errorMask |
◆ id
◆ items
dc.EventObjects.Batch.items |
◆ maxExecutionTime
dc.EventObjects.Batch.maxExecutionTime |
◆ maxItems
dc.EventObjects.Batch.maxItems |
◆ maxIterations
dc.EventObjects.Batch.maxIterations |
◆ OPERATION_TYPE_NAME
string dc.EventObjects.Batch.OPERATION_TYPE_NAME = "type" |
|
static |
◆ removeUnprocessedItems
dc.EventObjects.Batch.removeUnprocessedItems |
◆ TYPE_AGE
int dc.EventObjects.Batch.TYPE_AGE = 7 |
|
static |
◆ TYPE_INCR_CRAWLER
int dc.EventObjects.Batch.TYPE_INCR_CRAWLER = 2 |
|
static |
◆ TYPE_NORMAL_CRAWLER
int dc.EventObjects.Batch.TYPE_NORMAL_CRAWLER = 1 |
|
static |
◆ TYPE_PROCESS
int dc.EventObjects.Batch.TYPE_PROCESS = 6 |
|
static |
◆ TYPE_PURGE
int dc.EventObjects.Batch.TYPE_PURGE = 5 |
|
static |
◆ TYPE_REAL_TIME_CRAWLER
int dc.EventObjects.Batch.TYPE_REAL_TIME_CRAWLER = 4 |
|
static |
◆ TYPE_URLS_RETURN
int dc.EventObjects.Batch.TYPE_URLS_RETURN = 3 |
|
static |
The documentation for this class was generated from the following file: