persistprocessor.html
来自「网络爬虫开源代码」· HTML 代码 · 共 497 行 · 第 1/3 页
HTML
497 行
<B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="PersistProcessor(java.lang.String, java.lang.String)"><!-- --></A><H3>PersistProcessor</H3><PRE>public <B>PersistProcessor</B>(java.lang.String name, java.lang.String string)</PRE><DL><DD>Usual constructor<P><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - <DD><CODE>string</CODE> - </DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="historyDatabaseConfig()"><!-- --></A><H3>historyDatabaseConfig</H3><PRE>protected static com.sleepycat.je.DatabaseConfig <B>historyDatabaseConfig</B>()</PRE><DL><DD><DL><DT><B>Returns:</B><DD>DatabaseConfig for history Database</DL></DD></DL><HR><A NAME="persistKeyFor(org.archive.crawler.datamodel.CrawlURI)"><!-- --></A><H3>persistKeyFor</H3><PRE>public java.lang.String <B>persistKeyFor</B>(<A HREF="../../../../../org/archive/crawler/datamodel/CrawlURI.html" title="class in org.archive.crawler.datamodel">CrawlURI</A> curi)</PRE><DL><DD>Return a preferred String key for persisting the given CrawlURI's AList state.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>curi</CODE> - CrawlURI<DT><B>Returns:</B><DD>String key</DL></DD></DL><HR><A NAME="shouldStore(org.archive.crawler.datamodel.CrawlURI)"><!-- --></A><H3>shouldStore</H3><PRE>protected boolean <B>shouldStore</B>(<A HREF="../../../../../org/archive/crawler/datamodel/CrawlURI.html" title="class in org.archive.crawler.datamodel">CrawlURI</A> curi)</PRE><DL><DD>Whether the current CrawlURI's state should be persisted (to log or direct to database)<P><DD><DL><DT><B>Parameters:</B><DD><CODE>curi</CODE> - CrawlURI<DT><B>Returns:</B><DD>true if state should be stored; false to skip persistence</DL></DD></DL><HR><A NAME="shouldLoad(org.archive.crawler.datamodel.CrawlURI)"><!-- --></A><H3>shouldLoad</H3><PRE>protected boolean <B>shouldLoad</B>(<A HREF="../../../../../org/archive/crawler/datamodel/CrawlURI.html" title="class in org.archive.crawler.datamodel">CrawlURI</A> curi)</PRE><DL><DD>Whether the current CrawlURI's state should be loaded<P><DD><DL><DT><B>Parameters:</B><DD><CODE>curi</CODE> - CrawlURI<DT><B>Returns:</B><DD>true if state should be loaded; false to skip loading</DL></DD></DL><HR><A NAME="main(java.lang.String[])"><!-- --></A><H3>main</H3><PRE>public static void <B>main</B>(java.lang.String[] args) throws com.sleepycat.je.DatabaseException, java.io.IOException</PRE><DL><DD>Utility main for importing a log into a BDB-JE environment or moving a database between environments (2 arguments), or simply dumping a log to stdout in a more readable format (1 argument).<P><DD><DL><DT><B>Parameters:</B><DD><CODE>args</CODE> - command-line arguments<DT><B>Throws:</B><DD><CODE>com.sleepycat.je.DatabaseException</CODE><DD><CODE>java.io.IOException</CODE></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/PersistProcessor.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../org/archive/crawler/processor/recrawl/PersistOnlineProcessor.html" title="class in org.archive.crawler.processor.recrawl"><B>PREV CLASS</B></A> <A HREF="../../../../../org/archive/crawler/processor/recrawl/PersistStoreProcessor.html" title="class in org.archive.crawler.processor.recrawl"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html?org/archive/crawler/processor/recrawl/PersistProcessor.html" target="_top"><B>FRAMES</B></A> <A HREF="PersistProcessor.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: <A HREF="#nested_classes_inherited_from_class_org.archive.crawler.settings.ComplexType">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR>Copyright © 2003-2007 Internet Archive. All Rights Reserved.</BODY></HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?