?? rdvproperties.html
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!--NewPage--><HTML><HEAD><TITLE>RdvProperties (Project JXTA J2SE)</TITLE><META NAME="keywords" CONTENT="net.jxta.util.config.RdvProperties class"><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"><SCRIPT type="text/javascript">function windowTitle(){ parent.document.title="RdvProperties (Project JXTA J2SE)";}</SCRIPT></HEAD><BODY BGCOLOR="white" onload="windowTitle();"><!-- ========= START OF TOP NAVBAR ======= --><A NAME="navbar_top"><!-- --></A><A HREF="#skip-navbar_top" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_top_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/RdvProperties.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><a href='http://www.jxta.org' target='_blank'>Project JXTA</a></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../net/jxta/util/config/RdvConfigurator.html" title="class in net.jxta.util.config"><B>PREV CLASS</B></A> <A HREF="../../../../net/jxta/util/config/RelayConfigurator.html" title="class in net.jxta.util.config"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="RdvProperties.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: NESTED | <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_top"></A><!-- ========= END OF TOP NAVBAR ========= --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">net.jxta.util.config</FONT><BR>Class RdvProperties</H2><PRE>java.lang.Object <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><B>net.jxta.util.config.RdvProperties</B></PRE><HR><B>Deprecated.</B> <I>This class is scheduled for removal. Please consider <A HREF="../../../../net/jxta/ext/config/Configurator.html" title="class in net.jxta.ext.config"><CODE>Configurator</CODE></A>.</I><P><DL><DT>public class <B>RdvProperties</B><DT>extends java.lang.Object</DL><P>Default RendezVousService properties. This class is intended to be used in order to read or write the RendezVousService configurable into the platform property file (jxta.properties). RdvProperties does not interfere with other properties that other JXTA service may have added into the property file.<P><P><HR><P><!-- ======== NESTED CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><A NAME="field_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Field Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/util/config/RdvProperties.html#PROBE_RELAYS">PROBE_RELAYS</A></B></CODE><BR> <B>Deprecated.</B> Name of peerview.ProbeRelays configurable.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/util/config/RdvProperties.html#PROP_DEFAULT_LEASE">PROP_DEFAULT_LEASE</A></B></CODE><BR> <B>Deprecated.</B> Name of RdvMonitor.DefaultLease configurable.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/util/config/RdvProperties.html#PROP_LEASE_MARGIN">PROP_LEASE_MARGIN</A></B></CODE><BR> <B>Deprecated.</B> Name of RdvMonitor.LeaseMargin configurable.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/util/config/RdvProperties.html#PROP_MAX_CLIENTS">PROP_MAX_CLIENTS</A></B></CODE><BR> <B>Deprecated.</B> Name of RdvManager.MaxClients configurable.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/util/config/RdvProperties.html#PROP_RDV_WATCHDOG">PROP_RDV_WATCHDOG</A></B></CODE><BR> <B>Deprecated.</B> Name of Rdv.Rdv-Watchdog configurable.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/util/config/RdvProperties.html#PROPERTIES_FILENAME">PROPERTIES_FILENAME</A></B></CODE><BR> <B>Deprecated.</B> The RendezVousService uses a file in the classpath directory, named jxta.properties in order to allow configuration. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/util/config/RdvProperties.html#SEEDINGRDV_CONN_DELAY_PROPERTY">SEEDINGRDV_CONN_DELAY_PROPERTY</A></B></CODE><BR> <B>Deprecated.</B> Name of peerview.SeedingRdvConnDelay configurable.</TD></TR></TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --><A NAME="constructor_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Constructor Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../net/jxta/util/config/RdvProperties.html#RdvProperties()">RdvProperties</A></B>()</CODE><BR> <B>Deprecated.</B> Construct a new RdvProperty using the default property file (jxta.properties).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../net/jxta/util/config/RdvProperties.html#RdvProperties(java.lang.String)">RdvProperties</A></B>(java.lang.String propFile)</CODE><BR> <B>Deprecated.</B> Construct a new RdvProperty using the specified property file.</TD></TR></TABLE> <!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/util/config/RdvProperties.html#getPeerViewProbeRelays()">getPeerViewProbeRelays</A></B>()</CODE><BR> <B>Deprecated.</B> Get peerview.ProbeRelays</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/util/config/RdvProperties.html#getPeerViewSeedingConnDelay()">getPeerViewSeedingConnDelay</A></B>()</CODE><BR> <B>Deprecated.</B> Get peerview.SeedingRdvConnDelay configurable in jxta.properties</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/util/config/RdvProperties.html#getRdvManagerMaxClients()">getRdvManagerMaxClients</A></B>()</CODE><BR> <B>Deprecated.</B> Get RdvMonager.MaxClients</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/util/config/RdvProperties.html#getRdvMonitorDefaultLease()">getRdvMonitorDefaultLease</A></B>()</CODE><BR> <B>Deprecated.</B> Get RdvMonitor.DefaultLease</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/util/config/RdvProperties.html#getRdvMonitorLeaseMargin()">getRdvMonitorLeaseMargin</A></B>()</CODE><BR> <B>Deprecated.</B> Get RdvMonitor.LeaseMargin</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/util/config/RdvProperties.html#getRdvWatchdog()">getRdvWatchdog</A></B>()</CODE><BR> <B>Deprecated.</B> Get Rdv.Rdv-Watchdog</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/util/config/RdvProperties.html#save()">save</A></B>()</CODE><BR> <B>Deprecated.</B> Save the current values onto the property file.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/util/config/RdvProperties.html#setPeerViewProbeRelays(boolean)">setPeerViewProbeRelays</A></B>(boolean newVal)</CODE><BR> <B>Deprecated.</B> Set peerview.ProbeRelays configurable in jxta.properties If set to true, the PeerView protocol will send a PeerView query to its relays. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/util/config/RdvProperties.html#setPeerViewSeedingConnDelay(long)">setPeerViewSeedingConnDelay</A></B>(long newVal)</CODE><BR> <B>Deprecated.</B> Set peerview.SeedingRdvConnDelay configurable in jxta.properties Delay before a peer sends a PeerView request to the seeding RDV peers. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/util/config/RdvProperties.html#setRdvManagerMaxClients(int)">setRdvManagerMaxClients</A></B>(int newVal)</CODE><BR> <B>Deprecated.</B> Set RdvManager.MaxClients configurable in jxta.properties When a peer runs as a rdv peer, this configurable sets the maximum number of clients the rendezvous service will accept at any given time. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/util/config/RdvProperties.html#setRdvMonitorDefaultLease(long)">setRdvMonitorDefaultLease</A></B>(long newVal)</CODE><BR> <B>Deprecated.</B> Set RdvMonitor.DefaultLease configurable in jxta.properties The RDV lease used by the RdvMonitor is: MIN (RdvMonitor.DefaultLease, lease returned by rdv peer). </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/util/config/RdvProperties.html#setRdvMonitorLeaseMargin(long)">setRdvMonitorLeaseMargin</A></B>(long newVal)</CODE><BR> <B>Deprecated.</B> Set RdvMonitor.LeaseMargin configurable in jxta.properties Edge peers renew their lease to the RDV peer LeaseMargin (in ms) before the expiration of the lease. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/util/config/RdvProperties.html#setRdvWatchdog(long)">setRdvWatchdog</A></B>(long newVal)</CODE><BR> <B>Deprecated.</B> Set Rdv.Rdv-Watchdog configurable in jxta.properties When a peer runs as an edge peer, and when AutoRdv is enabled, this configurable sets the delay before the edge peer starts acting as a rdv peer in the absence of rdv connection. </TD></TR></TABLE> <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"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="PROPERTIES_FILENAME"><!-- --></A><H3>PROPERTIES_FILENAME</H3><PRE>public static final java.lang.String <B>PROPERTIES_FILENAME</B></PRE><DL><DD><B>Deprecated.</B> <DD>The RendezVousService uses a file in the classpath directory, named jxta.properties in order to allow configuration. PROPERTY_FILENAME is the name of the configuration file used by the PeerView.<P><DL></DL></DL><HR><A NAME="PROP_MAX_CLIENTS"><!-- --></A><H3>PROP_MAX_CLIENTS</H3><PRE>public static final java.lang.String <B>PROP_MAX_CLIENTS</B></PRE><DL><DD><B>Deprecated.</B> <DD>Name of RdvManager.MaxClients configurable.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#net.jxta.util.config.RdvProperties.PROP_MAX_CLIENTS">Constant Field Values</A></DL></DL><HR>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -