⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bdburiuniqfilter.html

📁 用JAVA编写的,在做实验的时候留下来的,本来想删的,但是传上来,大家分享吧
💻 HTML
📖 第 1 页 / 共 3 页
字号:
&nbsp;<!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Method Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/archive/crawler/util/BdbUriUniqFilter.html#close()">close</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Close down any allocated resources.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/archive/crawler/util/BdbUriUniqFilter.html#createKey(java.lang.CharSequence)">createKey</A></B>(java.lang.CharSequence&nbsp;uri)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create fingerprint.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/archive/crawler/util/BdbUriUniqFilter.html#flush()">flush</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/archive/crawler/util/BdbUriUniqFilter.html#getCacheMisses()">getCacheMisses</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/archive/crawler/util/BdbUriUniqFilter.html#getLastCacheMissDiff()">getLastCacheMissDiff</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/archive/crawler/util/BdbUriUniqFilter.html#initialize(com.sleepycat.je.Environment)">initialize</A></B>(com.sleepycat.je.Environment&nbsp;env)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method shared by constructors.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/archive/crawler/util/BdbUriUniqFilter.html#open(com.sleepycat.je.Environment, com.sleepycat.je.DatabaseConfig)">open</A></B>(com.sleepycat.je.Environment&nbsp;env,     com.sleepycat.je.DatabaseConfig&nbsp;dbConfig)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/archive/crawler/util/BdbUriUniqFilter.html#reopen(com.sleepycat.je.Environment)">reopen</A></B>(com.sleepycat.je.Environment&nbsp;env)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Call after deserializing an instance of this class.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/archive/crawler/util/BdbUriUniqFilter.html#setAdd(java.lang.CharSequence)">setAdd</A></B>(java.lang.CharSequence&nbsp;uri)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/archive/crawler/util/BdbUriUniqFilter.html#setCount()">setCount</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/archive/crawler/util/BdbUriUniqFilter.html#setRemove(java.lang.CharSequence)">setRemove</A></B>(java.lang.CharSequence&nbsp;uri)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_org.archive.crawler.util.SetBasedUriUniqFilter"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class org.archive.crawler.util.<A HREF="../../../../org/archive/crawler/util/SetBasedUriUniqFilter.html" title="class in org.archive.crawler.util">SetBasedUriUniqFilter</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/archive/crawler/util/SetBasedUriUniqFilter.html#add(java.lang.String, org.archive.crawler.datamodel.CandidateURI)">add</A>, <A HREF="../../../../org/archive/crawler/util/SetBasedUriUniqFilter.html#addForce(java.lang.String, org.archive.crawler.datamodel.CandidateURI)">addForce</A>, <A HREF="../../../../org/archive/crawler/util/SetBasedUriUniqFilter.html#addNow(java.lang.String, org.archive.crawler.datamodel.CandidateURI)">addNow</A>, <A HREF="../../../../org/archive/crawler/util/SetBasedUriUniqFilter.html#count()">count</A>, <A HREF="../../../../org/archive/crawler/util/SetBasedUriUniqFilter.html#forget(java.lang.String, org.archive.crawler.datamodel.CandidateURI)">forget</A>, <A HREF="../../../../org/archive/crawler/util/SetBasedUriUniqFilter.html#note(java.lang.String)">note</A>, <A HREF="../../../../org/archive/crawler/util/SetBasedUriUniqFilter.html#pending()">pending</A>, <A HREF="../../../../org/archive/crawler/util/SetBasedUriUniqFilter.html#profileLog(java.lang.String)">profileLog</A>, <A HREF="../../../../org/archive/crawler/util/SetBasedUriUniqFilter.html#requestFlush()">requestFlush</A>, <A HREF="../../../../org/archive/crawler/util/SetBasedUriUniqFilter.html#setDestination(org.archive.crawler.datamodel.UriUniqFilter.HasUriReceiver)">setDestination</A>, <A HREF="../../../../org/archive/crawler/util/SetBasedUriUniqFilter.html#setProfileLog(java.io.File)">setProfileLog</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_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>Field Detail</B></FONT></TH></TR></TABLE><A NAME="createdEnvironment"><!-- --></A><H3>createdEnvironment</H3><PRE>protected boolean <B>createdEnvironment</B></PRE><DL><DL></DL></DL><HR><A NAME="lastCacheMiss"><!-- --></A><H3>lastCacheMiss</H3><PRE>protected long <B>lastCacheMiss</B></PRE><DL><DL></DL></DL><HR><A NAME="lastCacheMissDiff"><!-- --></A><H3>lastCacheMissDiff</H3><PRE>protected long <B>lastCacheMissDiff</B></PRE><DL><DL></DL></DL><HR><A NAME="alreadySeen"><!-- --></A><H3>alreadySeen</H3><PRE>protected transient com.sleepycat.je.Database <B>alreadySeen</B></PRE><DL><DL></DL></DL><HR><A NAME="value"><!-- --></A><H3>value</H3><PRE>protected transient com.sleepycat.je.DatabaseEntry <B>value</B></PRE><DL><DL></DL></DL><HR><A NAME="count"><!-- --></A><H3>count</H3><PRE>protected long <B>count</B></PRE><DL><DL></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_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>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="BdbUriUniqFilter()"><!-- --></A><H3>BdbUriUniqFilter</H3><PRE>protected <B>BdbUriUniqFilter</B>()</PRE><DL><DD>Shutdown default constructor.<P></DL><HR><A NAME="BdbUriUniqFilter(com.sleepycat.je.Environment)"><!-- --></A><H3>BdbUriUniqFilter</H3><PRE>public <B>BdbUriUniqFilter</B>(com.sleepycat.je.Environment&nbsp;environment)                 throws java.io.IOException</PRE><DL><DD>Constructor.<P><DL><DT><B>Parameters:</B><DD><CODE>environment</CODE> - A bdb environment ready-configured.<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE></DL></DL><HR><A NAME="BdbUriUniqFilter(java.io.File)"><!-- --></A><H3>BdbUriUniqFilter</H3><PRE>public <B>BdbUriUniqFilter</B>(java.io.File&nbsp;bdbEnv)                 throws java.io.IOException</PRE><DL><DD>Constructor.<P><DL><DT><B>Parameters:</B><DD><CODE>bdbEnv</CODE> - The directory that holds the bdb environment. Will make a database under here if doesn't already exit.  Otherwise reopens any existing dbs.<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE></DL></DL><HR><A NAME="BdbUriUniqFilter(java.io.File, int)"><!-- --></A><H3>BdbUriUniqFilter</H3><PRE>public <B>BdbUriUniqFilter</B>(java.io.File&nbsp;bdbEnv,                        int&nbsp;cacheSizePercentage)                 throws java.io.IOException</PRE><DL><DD>Constructor.<P><DL><DT><B>Parameters:</B><DD><CODE>bdbEnv</CODE> - The directory that holds the bdb environment. Will make a database under here if doesn't already exit.  Otherwise reopens any existing dbs.<DD><CODE>cacheSizePercentage</CODE> - Percentage of JVM bdb allocates as its cache.  Pass -1 to get default cache size.<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE></DL>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -