1 24 package org.archive.crawler.datamodel; 25 26 38 public interface FetchStatusCodes { 39 40 public static final int S_UNATTEMPTED = 0; 41 42 public static final int S_DOMAIN_UNRESOLVABLE = -1; 44 public static final int S_CONNECT_FAILED = -2; 46 public static final int S_CONNECT_LOST = -3; 48 public static final int S_TIMEOUT = -4; 50 public static final int S_RUNTIME_EXCEPTION = -5; 52 public static final int S_DOMAIN_PREREQUISITE_FAILURE = -6; 54 public static final int S_UNFETCHABLE_URI = -7; 56 public static final int S_TOO_MANY_RETRIES = -8; 58 60 public static final int S_DEFERRED = -50; 61 63 public static final int S_UNQUEUEABLE = -60; 64 65 66 public static final int S_ROBOTS_PREREQUISITE_FAILURE = -61; 68 public static final int S_OTHER_PREREQUISITE_FAILURE = -62; 70 public static final int S_PREREQUISITE_UNSCHEDULABLE_FAILURE = -63; 72 74 public static final int S_SERIOUS_ERROR = -3000; 76 77 public static final int S_DEEMED_CHAFF = -4000; 78 79 public static final int S_TOO_MANY_LINK_HOPS = -4001; 80 81 public static final int S_TOO_MANY_EMBED_HOPS = -4002; 82 84 public static final int S_OUT_OF_SCOPE = -5000; 85 86 public static final int S_BLOCKED_BY_USER = -5001; 87 93 public static final int S_BLOCKED_BY_CUSTOM_PROCESSOR = -5002; 94 98 public static final int S_BLOCKED_BY_QUOTA = -5003; 99 103 public static final int S_BLOCKED_BY_RUNTIME_LIMIT = -5004; 104 105 public static final int S_DELETED_BY_USER = -6000; 106 107 108 public static final int S_PROCESSING_THREAD_KILLED = -7000; 109 110 111 public static final int S_ROBOTS_PRECLUDED = -9998; 112 113 114 public static final int S_DNS_SUCCESS = 1; 115 116 public static final int S_GETBYNAME_SUCCESS = 1001; 117 } 118 119 120 | Popular Tags |