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
dc.EventObjects.URLDelete Class Reference
Inheritance diagram for dc.EventObjects.URLDelete:
Collaboration diagram for dc.EventObjects.URLDelete:

Public Member Functions

def __init__ (self, siteId, urlString, urlType=URLStatus.URL_TYPE_URL, criterions=None, reason=REASON_USER_REQUEST)
 
- Public Member Functions inherited from app.Utils.JsonSerializable
def __init__ (self)
 
def toJSON (self)
 

Public Attributes

 siteId
 
 url
 
 urlType
 
 criterions
 
 delayedType
 
 reason
 

Static Public Attributes

int REASON_USER_REQUEST = 0
 
int REASON_AGING = 1
 
int REASON_SITE_LIMITS = 2
 
int REASON_SELECT_TO_CRAWL_TTL = 3
 
int REASON_SELECT_TO_PROCESS_TTL = 4
 
int REASON_RECRAWL = 5
 
int REASON_CRAWLER_AUTOREMOVE = 6
 
int REASON_SITE_UPDATE_ROOT_URLS = 7
 
int REASON_RT_FINALIZER = 10
 
int REASON_PROCESSOR_DUPLICATE = 11
 

Additional Inherited Members

- Static Public Member Functions inherited from app.Utils.JsonSerializable
def json_serial (obj)
 

Detailed Description

Definition at line 830 of file EventObjects.py.

Constructor & Destructor Documentation

◆ __init__()

def dc.EventObjects.URLDelete.__init__ (   self,
  siteId,
  urlString,
  urlType = URLStatus.URL_TYPE_URL,
  criterions = None,
  reason = REASON_USER_REQUEST 
)

Definition at line 849 of file EventObjects.py.

849  def __init__(self, siteId, urlString, urlType=URLStatus.URL_TYPE_URL, criterions=None, reason=REASON_USER_REQUEST):
850  super(URLDelete, self).__init__()
851  self.siteId = siteId
852  self.url = urlString
853  self.urlType = urlType
854  self.criterions = criterions
855  self.delayedType = NOT_DELAYED_OPERATION
856  self.reason = reason
857 
858 
859 
860 # #URLCleanup event object
861 #
862 # The URLCleanup event object for cleanup operation. Also can updates only not None value fields
863 #
def __init__(self)
constructor
Definition: UIDGenerator.py:19

Member Data Documentation

◆ criterions

dc.EventObjects.URLDelete.criterions

Definition at line 854 of file EventObjects.py.

◆ delayedType

dc.EventObjects.URLDelete.delayedType

Definition at line 855 of file EventObjects.py.

◆ reason

dc.EventObjects.URLDelete.reason

Definition at line 856 of file EventObjects.py.

◆ REASON_AGING

int dc.EventObjects.URLDelete.REASON_AGING = 1
static

Definition at line 833 of file EventObjects.py.

◆ REASON_CRAWLER_AUTOREMOVE

int dc.EventObjects.URLDelete.REASON_CRAWLER_AUTOREMOVE = 6
static

Definition at line 838 of file EventObjects.py.

◆ REASON_PROCESSOR_DUPLICATE

int dc.EventObjects.URLDelete.REASON_PROCESSOR_DUPLICATE = 11
static

Definition at line 841 of file EventObjects.py.

◆ REASON_RECRAWL

int dc.EventObjects.URLDelete.REASON_RECRAWL = 5
static

Definition at line 837 of file EventObjects.py.

◆ REASON_RT_FINALIZER

int dc.EventObjects.URLDelete.REASON_RT_FINALIZER = 10
static

Definition at line 840 of file EventObjects.py.

◆ REASON_SELECT_TO_CRAWL_TTL

int dc.EventObjects.URLDelete.REASON_SELECT_TO_CRAWL_TTL = 3
static

Definition at line 835 of file EventObjects.py.

◆ REASON_SELECT_TO_PROCESS_TTL

int dc.EventObjects.URLDelete.REASON_SELECT_TO_PROCESS_TTL = 4
static

Definition at line 836 of file EventObjects.py.

◆ REASON_SITE_LIMITS

int dc.EventObjects.URLDelete.REASON_SITE_LIMITS = 2
static

Definition at line 834 of file EventObjects.py.

◆ REASON_SITE_UPDATE_ROOT_URLS

int dc.EventObjects.URLDelete.REASON_SITE_UPDATE_ROOT_URLS = 7
static

Definition at line 839 of file EventObjects.py.

◆ REASON_USER_REQUEST

int dc.EventObjects.URLDelete.REASON_USER_REQUEST = 0
static

Definition at line 832 of file EventObjects.py.

◆ siteId

dc.EventObjects.URLDelete.siteId

Definition at line 851 of file EventObjects.py.

◆ url

dc.EventObjects.URLDelete.url

Definition at line 852 of file EventObjects.py.

◆ urlType

dc.EventObjects.URLDelete.urlType

Definition at line 853 of file EventObjects.py.


The documentation for this class was generated from the following file: