You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@river.apache.org by si...@apache.org on 2010/12/24 23:05:38 UTC
svn commit: r1052720 [1/4] - in
/incubator/river/site/trunk/content/river/doc/api/com/sun/jini/landlord: ./
class-use/
Author: sijskes
Date: Fri Dec 24 22:05:37 2010
New Revision: 1052720
URL: http://svn.apache.org/viewvc?rev=1052720&view=rev
Log:
doc integration
Added:
incubator/river/site/trunk/content/river/doc/api/com/sun/jini/landlord/ConstrainableLandlordLease.html
incubator/river/site/trunk/content/river/doc/api/com/sun/jini/landlord/ConstrainableLandlordLeaseMap.html
incubator/river/site/trunk/content/river/doc/api/com/sun/jini/landlord/FixedLeasePeriodPolicy.html
incubator/river/site/trunk/content/river/doc/api/com/sun/jini/landlord/Landlord.RenewResults.html
incubator/river/site/trunk/content/river/doc/api/com/sun/jini/landlord/Landlord.html
incubator/river/site/trunk/content/river/doc/api/com/sun/jini/landlord/LandlordLease.html
incubator/river/site/trunk/content/river/doc/api/com/sun/jini/landlord/LandlordLeaseMap.html
incubator/river/site/trunk/content/river/doc/api/com/sun/jini/landlord/LandlordProxyVerifier.html
incubator/river/site/trunk/content/river/doc/api/com/sun/jini/landlord/LandlordUtil.html
incubator/river/site/trunk/content/river/doc/api/com/sun/jini/landlord/LeaseFactory.html
incubator/river/site/trunk/content/river/doc/api/com/sun/jini/landlord/LeasePeriodPolicy.Result.html
incubator/river/site/trunk/content/river/doc/api/com/sun/jini/landlord/LeasePeriodPolicy.html
incubator/river/site/trunk/content/river/doc/api/com/sun/jini/landlord/LeasedResource.html
incubator/river/site/trunk/content/river/doc/api/com/sun/jini/landlord/LocalLandlord.html
incubator/river/site/trunk/content/river/doc/api/com/sun/jini/landlord/class-use/
incubator/river/site/trunk/content/river/doc/api/com/sun/jini/landlord/package-frame.html
incubator/river/site/trunk/content/river/doc/api/com/sun/jini/landlord/package-summary.html
incubator/river/site/trunk/content/river/doc/api/com/sun/jini/landlord/package-tree.html
incubator/river/site/trunk/content/river/doc/api/com/sun/jini/landlord/package-use.html
Added: incubator/river/site/trunk/content/river/doc/api/com/sun/jini/landlord/ConstrainableLandlordLease.html
URL: http://svn.apache.org/viewvc/incubator/river/site/trunk/content/river/doc/api/com/sun/jini/landlord/ConstrainableLandlordLease.html?rev=1052720&view=auto
==============================================================================
--- incubator/river/site/trunk/content/river/doc/api/com/sun/jini/landlord/ConstrainableLandlordLease.html (added)
+++ incubator/river/site/trunk/content/river/doc/api/com/sun/jini/landlord/ConstrainableLandlordLease.html Fri Dec 24 22:05:37 2010
@@ -0,0 +1,465 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_15) on Mon Mar 08 17:45:59 EST 2010 -->
+<TITLE>
+ConstrainableLandlordLease (Apache River v2.1.2-SNAPSHOT API Documentation)
+</TITLE>
+
+<META NAME="keywords" CONTENT="com.sun.jini.landlord.ConstrainableLandlordLease class">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="ConstrainableLandlordLease (Apache River v2.1.2-SNAPSHOT API Documentation)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</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=2 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/ConstrainableLandlordLease.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">
+ PREV CLASS
+ <A HREF="../../../../com/sun/jini/landlord/ConstrainableLandlordLeaseMap.html" title="class in com.sun.jini.landlord"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../index.html?com/sun/jini/landlord/ConstrainableLandlordLease.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="ConstrainableLandlordLease.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="#fields_inherited_from_class_com.sun.jini.lease.AbstractLease">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: FIELD | <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">
+com.sun.jini.landlord</FONT>
+<BR>
+Class ConstrainableLandlordLease</H2>
+<PRE>
+<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A>
+ <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/sun/jini/lease/AbstractLease.html" title="class in com.sun.jini.lease">com.sun.jini.lease.AbstractLease</A>
+ <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/sun/jini/landlord/LandlordLease.html" title="class in com.sun.jini.landlord">com.sun.jini.landlord.LandlordLease</A>
+ <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.sun.jini.landlord.ConstrainableLandlordLease</B>
+</PRE>
+<DL>
+<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html" title="class or interface in java.io">Serializable</A>, <A HREF="../../../../net/jini/core/constraint/RemoteMethodControl.html" title="interface in net.jini.core.constraint">RemoteMethodControl</A>, <A HREF="../../../../net/jini/core/lease/Lease.html" title="interface in net.jini.core.lease">Lease</A>, <A HREF="../../../../net/jini/id/ReferentUuid.html" title="interface in net.jini.id">ReferentUuid</A></DD>
+</DL>
+<HR>
+<DL>
+<DT><PRE>public final class <B>ConstrainableLandlordLease</B><DT>extends <A HREF="../../../../com/sun/jini/landlord/LandlordLease.html" title="class in com.sun.jini.landlord">LandlordLease</A><DT>implements <A HREF="../../../../net/jini/core/constraint/RemoteMethodControl.html" title="interface in net.jini.core.constraint">RemoteMethodControl</A></DL>
+</PRE>
+
+<P>
+Constrainable sub-class of <code>LandlordLease</code>.
+ Instances of this class can be verified using the
+ <code>LandlordProxyVerifier</code> class.
+<P>
+
+<P>
+<DL>
+<DT><B>Since:</B></DT>
+ <DD>2.0</DD>
+<DT><B>Author:</B></DT>
+ <DD>Sun Microsystems, Inc.</DD>
+<DT><B>See Also:</B><DD><A HREF="../../../../com/sun/jini/landlord/LandlordProxyVerifier.html" title="class in com.sun.jini.landlord"><CODE>LandlordProxyVerifier</CODE></A>,
+<A HREF="../../../../serialized-form.html#com.sun.jini.landlord.ConstrainableLandlordLease">Serialized Form</A></DL>
+<HR>
+
+<P>
+<!-- =========== FIELD SUMMARY =========== -->
+
+<A NAME="field_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>Field Summary</B></FONT></TH>
+</TR>
+</TABLE>
+ <A NAME="fields_inherited_from_class_com.sun.jini.lease.AbstractLease"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Fields inherited from class com.sun.jini.lease.<A HREF="../../../../com/sun/jini/lease/AbstractLease.html" title="class in com.sun.jini.lease">AbstractLease</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../../com/sun/jini/lease/AbstractLease.html#expiration">expiration</A>, <A HREF="../../../../com/sun/jini/lease/AbstractLease.html#serialFormat">serialFormat</A></CODE></TD>
+</TR>
+</TABLE>
+ <A NAME="fields_inherited_from_class_net.jini.core.lease.Lease"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Fields inherited from interface net.jini.core.lease.<A HREF="../../../../net/jini/core/lease/Lease.html" title="interface in net.jini.core.lease">Lease</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../../net/jini/core/lease/Lease.html#ABSOLUTE">ABSOLUTE</A>, <A HREF="../../../../net/jini/core/lease/Lease.html#ANY">ANY</A>, <A HREF="../../../../net/jini/core/lease/Lease.html#DURATION">DURATION</A>, <A HREF="../../../../net/jini/core/lease/Lease.html#FOREVER">FOREVER</A></CODE></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">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Constructor Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../../com/sun/jini/landlord/ConstrainableLandlordLease.html#ConstrainableLandlordLease(net.jini.id.Uuid, com.sun.jini.landlord.Landlord, net.jini.id.Uuid, long, net.jini.core.constraint.MethodConstraints)">ConstrainableLandlordLease</A></B>(<A HREF="../../../../net/jini/id/Uuid.html" title="class in net.jini.id">Uuid</A> cookie,
+ <A HREF="../../../../com/sun/jini/landlord/Landlord.html" title="interface in com.sun.jini.landlord">Landlord</A> landlord,
+ <A HREF="../../../../net/jini/id/Uuid.html" title="class in net.jini.id">Uuid</A> landlordUuid,
+ long expiration,
+ <A HREF="../../../../net/jini/core/constraint/MethodConstraints.html" title="interface in net.jini.core.constraint">MethodConstraints</A> methodConstraints)</CODE>
+
+<BR>
+ Create a new <code>ConstrainableLandlordLease</code>.</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">
+<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> boolean</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../com/sun/jini/landlord/ConstrainableLandlordLease.html#canBatch(net.jini.core.lease.Lease)">canBatch</A></B>(<A HREF="../../../../net/jini/core/lease/Lease.html" title="interface in net.jini.core.lease">Lease</A> lease)</CODE>
+
+<BR>
+ Returns a boolean indicating whether or not the lease given as a
+ parameter can be batched (placed in the same LeaseMap) with the
+ current lease.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../../net/jini/core/lease/LeaseMap.html" title="interface in net.jini.core.lease">LeaseMap</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../com/sun/jini/landlord/ConstrainableLandlordLease.html#createLeaseMap(long)">createLeaseMap</A></B>(long duration)</CODE>
+
+<BR>
+ Creates a Map object that can contain leases whose renewal or
+ cancellation can be batched, and adds the current lease to that map.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../../net/jini/core/constraint/MethodConstraints.html" title="interface in net.jini.core.constraint">MethodConstraints</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../com/sun/jini/landlord/ConstrainableLandlordLease.html#getConstraints()">getConstraints</A></B>()</CODE>
+
+<BR>
+ Returns the client constraints placed on this proxy.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../../net/jini/core/constraint/RemoteMethodControl.html" title="interface in net.jini.core.constraint">RemoteMethodControl</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../com/sun/jini/landlord/ConstrainableLandlordLease.html#setConstraints(net.jini.core.constraint.MethodConstraints)">setConstraints</A></B>(<A HREF="../../../../net/jini/core/constraint/MethodConstraints.html" title="interface in net.jini.core.constraint">MethodConstraints</A> constraints)</CODE>
+
+<BR>
+ Returns a new copy of this proxy with the client constraints set to the
+ specified constraints.</TD>
+</TR>
+</TABLE>
+ <A NAME="methods_inherited_from_class_com.sun.jini.landlord.LandlordLease"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class com.sun.jini.landlord.<A HREF="../../../../com/sun/jini/landlord/LandlordLease.html" title="class in com.sun.jini.landlord">LandlordLease</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../../com/sun/jini/landlord/LandlordLease.html#cancel()">cancel</A>, <A HREF="../../../../com/sun/jini/landlord/LandlordLease.html#doRenew(long)">doRenew</A>, <A HREF="../../../../com/sun/jini/landlord/LandlordLease.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../../com/sun/jini/landlord/LandlordLease.html#getReferentUuid()">getReferentUuid</A>, <A HREF="../../../../com/sun/jini/landlord/LandlordLease.html#hashCode()">hashCode</A>, <A HREF="../../../../com/sun/jini/landlord/LandlordLease.html#toString()">toString</A></CODE></TD>
+</TR>
+</TABLE>
+ <A NAME="methods_inherited_from_class_com.sun.jini.lease.AbstractLease"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class com.sun.jini.lease.<A HREF="../../../../com/sun/jini/lease/AbstractLease.html" title="class in com.sun.jini.lease">AbstractLease</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../../com/sun/jini/lease/AbstractLease.html#getExpiration()">getExpiration</A>, <A HREF="../../../../com/sun/jini/lease/AbstractLease.html#getSerialFormat()">getSerialFormat</A>, <A HREF="../../../../com/sun/jini/lease/AbstractLease.html#renew(long)">renew</A>, <A HREF="../../../../com/sun/jini/lease/AbstractLease.html#setSerialFormat(int)">setSerialFormat</A></CODE></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">
+<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/
docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
+</TR>
+</TABLE>
+
+<P>
+
+<!-- ========= 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="ConstrainableLandlordLease(net.jini.id.Uuid, com.sun.jini.landlord.Landlord, net.jini.id.Uuid, long, net.jini.core.constraint.MethodConstraints)"><!-- --></A><H3>
+ConstrainableLandlordLease</H3>
+<PRE>
+public <B>ConstrainableLandlordLease</B>(<A HREF="../../../../net/jini/id/Uuid.html" title="class in net.jini.id">Uuid</A> cookie,
+ <A HREF="../../../../com/sun/jini/landlord/Landlord.html" title="interface in com.sun.jini.landlord">Landlord</A> landlord,
+ <A HREF="../../../../net/jini/id/Uuid.html" title="class in net.jini.id">Uuid</A> landlordUuid,
+ long expiration,
+ <A HREF="../../../../net/jini/core/constraint/MethodConstraints.html" title="interface in net.jini.core.constraint">MethodConstraints</A> methodConstraints)</PRE>
+<DL>
+<DD>Create a new <code>ConstrainableLandlordLease</code>.
+<P>
+<DL>
+<DT><B>Parameters:</B><DD><CODE>cookie</CODE> - a <code>Uuid</code> that universally and uniquely
+ identifies the lease this object is to be a proxy for<DD><CODE>landlord</CODE> - <code>Landlord</code> object that will be used to
+ communicate renew and cancel requests to the granter
+ of the lease.<DD><CODE>landlordUuid</CODE> - a universally unique id that has been
+ assigned to the server granting of the lease.
+ Ideally the <code>Uuid</code> <A HREF="../../../../net/jini/id/ReferentUuid.html#getReferentUuid()"><CODE>landlord.getUuid</CODE></A> would
+ return if <code>landlord</code> implemented
+ <A HREF="../../../../net/jini/id/ReferentUuid.html" title="interface in net.jini.id"><CODE>ReferentUuid</CODE></A>. Used to determine when
+ two leases can be batched together.<DD><CODE>expiration</CODE> - The initial expiration time of the lease in
+ milliseconds since the beginning of the epoch.<DD><CODE>methodConstraints</CODE> - the client method constraints to place on
+ this proxy (may be <code>null</code>).
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/NullPointerException.html" title="class or interface in java.lang">NullPointerException</A></CODE> - if <code>landlord</code>,
+ <code>landlordUuid</code>, or <code>cookie</code>
+ is <code>null</code>.
+<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/ClassCastException.html" title="class or interface in java.lang">ClassCastException</A></CODE> - if <code>landlord</code>
+ does not implement <code>RemoteMethodControl</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="setConstraints(net.jini.core.constraint.MethodConstraints)"><!-- --></A><H3>
+setConstraints</H3>
+<PRE>
+public <A HREF="../../../../net/jini/core/constraint/RemoteMethodControl.html" title="interface in net.jini.core.constraint">RemoteMethodControl</A> <B>setConstraints</B>(<A HREF="../../../../net/jini/core/constraint/MethodConstraints.html" title="interface in net.jini.core.constraint">MethodConstraints</A> constraints)</PRE>
+<DL>
+<DD><B>Description copied from interface: <CODE><A HREF="../../../../net/jini/core/constraint/RemoteMethodControl.html#setConstraints(net.jini.core.constraint.MethodConstraints)">RemoteMethodControl</A></CODE></B></DD>
+<DD>Returns a new copy of this proxy with the client constraints set to the
+ specified constraints. These constraints completely replace (in the
+ copy) any client constraints previously placed on this proxy; calling
+ the <A HREF="../../../../net/jini/core/constraint/RemoteMethodControl.html#getConstraints()"><CODE>getConstraints</CODE></A> method of the copy returns
+ the identical constraints instance. The original proxy is not modified.
+ A <code>null</code> value is interpreted as mapping all methods to
+ empty constraints (one that has no requirements and no preferences).
+ For any given remote call, the specific client requirements and
+ preferences to be satisfied are given by the return value of invoking
+ the <A HREF="../../../../net/jini/core/constraint/MethodConstraints.html#getConstraints(java.lang.reflect.Method)"><CODE>getConstraints</CODE></A> method of
+ the specified <A HREF="../../../../net/jini/core/constraint/MethodConstraints.html" title="interface in net.jini.core.constraint"><CODE>MethodConstraints</CODE></A> instance with a
+ <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/reflect/Method.html" title="class or interface in java.lang.reflect"><CODE>Method</CODE></A> object representing the remote method.
+ <p>
+ Client constraints placed on a proxy are included in the serialized
+ state of the proxy. This allows third-party services to be transparent
+ to the client's needs. For example, if remote object <code>s1</code>
+ obtains a proxy for remote object <code>s2</code>, and passes that
+ proxy to remote object <code>s3</code>, expecting <code>s3</code> to
+ invoke a remote method on <code>s2</code>, then <code>s1</code> can
+ control that call by placing its constraints directly on the proxy
+ before passing it to <code>s3</code>. If <code>s3</code> does not
+ wish to be transparent in this way, then it should explicitly replace
+ the client constraints on received proxies with whatever constraints
+ are appropriate to implement its own policy.
+<P>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/jini/core/constraint/RemoteMethodControl.html#setConstraints(net.jini.core.constraint.MethodConstraints)">setConstraints</A></CODE> in interface <CODE><A HREF="../../../../net/jini/core/constraint/RemoteMethodControl.html" title="interface in net.jini.core.constraint">RemoteMethodControl</A></CODE></DL>
+</DD>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>constraints</CODE> - client constraints, or <code>null</code>
+<DT><B>Returns:</B><DD>a new copy of this proxy with the client constraints set to the
+ specified constraints<DT><B>See Also:</B><DD><A HREF="../../../../net/jini/core/constraint/RemoteMethodControl.html#getConstraints()"><CODE>RemoteMethodControl.getConstraints()</CODE></A></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getConstraints()"><!-- --></A><H3>
+getConstraints</H3>
+<PRE>
+public <A HREF="../../../../net/jini/core/constraint/MethodConstraints.html" title="interface in net.jini.core.constraint">MethodConstraints</A> <B>getConstraints</B>()</PRE>
+<DL>
+<DD><B>Description copied from interface: <CODE><A HREF="../../../../net/jini/core/constraint/RemoteMethodControl.html#getConstraints()">RemoteMethodControl</A></CODE></B></DD>
+<DD>Returns the client constraints placed on this proxy. The return
+ value can be <code>null</code>, which is interpreted as mapping all
+ methods to empty constraints (one that has no requirements and no
+ preferences).
+<P>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/jini/core/constraint/RemoteMethodControl.html#getConstraints()">getConstraints</A></CODE> in interface <CODE><A HREF="../../../../net/jini/core/constraint/RemoteMethodControl.html" title="interface in net.jini.core.constraint">RemoteMethodControl</A></CODE></DL>
+</DD>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>the client constraints, or <code>null</code><DT><B>See Also:</B><DD><A HREF="../../../../net/jini/core/constraint/RemoteMethodControl.html#setConstraints(net.jini.core.constraint.MethodConstraints)"><CODE>RemoteMethodControl.setConstraints(net.jini.core.constraint.MethodConstraints)</CODE></A></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="canBatch(net.jini.core.lease.Lease)"><!-- --></A><H3>
+canBatch</H3>
+<PRE>
+public boolean <B>canBatch</B>(<A HREF="../../../../net/jini/core/lease/Lease.html" title="interface in net.jini.core.lease">Lease</A> lease)</PRE>
+<DL>
+<DD><B>Description copied from interface: <CODE><A HREF="../../../../net/jini/core/lease/Lease.html#canBatch(net.jini.core.lease.Lease)">Lease</A></CODE></B></DD>
+<DD>Returns a boolean indicating whether or not the lease given as a
+ parameter can be batched (placed in the same LeaseMap) with the
+ current lease. Whether or not two Lease objects can be batched
+ is an implementation detail determined by the objects.
+<P>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/jini/core/lease/Lease.html#canBatch(net.jini.core.lease.Lease)">canBatch</A></CODE> in interface <CODE><A HREF="../../../../net/jini/core/lease/Lease.html" title="interface in net.jini.core.lease">Lease</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/sun/jini/landlord/LandlordLease.html#canBatch(net.jini.core.lease.Lease)">canBatch</A></CODE> in class <CODE><A HREF="../../../../com/sun/jini/landlord/LandlordLease.html" title="class in com.sun.jini.landlord">LandlordLease</A></CODE></DL>
+</DD>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>lease</CODE> - the <tt>Lease</tt> to be evaluated
+<DT><B>Returns:</B><DD>a boolean indicating whether or not the lease given as a
+ parameter can be batched (placed in the same LeaseMap) with
+ the current lease</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="createLeaseMap(long)"><!-- --></A><H3>
+createLeaseMap</H3>
+<PRE>
+public <A HREF="../../../../net/jini/core/lease/LeaseMap.html" title="interface in net.jini.core.lease">LeaseMap</A> <B>createLeaseMap</B>(long duration)</PRE>
+<DL>
+<DD><B>Description copied from interface: <CODE><A HREF="../../../../net/jini/core/lease/Lease.html#createLeaseMap(long)">Lease</A></CODE></B></DD>
+<DD>Creates a Map object that can contain leases whose renewal or
+ cancellation can be batched, and adds the current lease to that map.
+ The current lease is put in the map with the duration value given
+ by the parameter.
+<P>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/jini/core/lease/Lease.html#createLeaseMap(long)">createLeaseMap</A></CODE> in interface <CODE><A HREF="../../../../net/jini/core/lease/Lease.html" title="interface in net.jini.core.lease">Lease</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/sun/jini/landlord/LandlordLease.html#createLeaseMap(long)">createLeaseMap</A></CODE> in class <CODE><A HREF="../../../../com/sun/jini/landlord/LandlordLease.html" title="class in com.sun.jini.landlord">LandlordLease</A></CODE></DL>
+</DD>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>duration</CODE> - the duration to put into a Long and use as the
+ value for the current lease in the created LeaseMap
+<DT><B>Returns:</B><DD>the created <tt>LeaseMap</tt> object</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/ConstrainableLandlordLease.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">
+ PREV CLASS
+ <A HREF="../../../../com/sun/jini/landlord/ConstrainableLandlordLeaseMap.html" title="class in com.sun.jini.landlord"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../index.html?com/sun/jini/landlord/ConstrainableLandlordLease.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="ConstrainableLandlordLease.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="#fields_inherited_from_class_com.sun.jini.lease.AbstractLease">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: FIELD | <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 2007, multiple authors.<br>Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0" target="child" >Apache License, Version 2.0</a>, see the <a href="../../../../doc-files/NOTICE" target="child" >NOTICE</a> file for attributions.
+</BODY>
+</HTML>
Added: incubator/river/site/trunk/content/river/doc/api/com/sun/jini/landlord/ConstrainableLandlordLeaseMap.html
URL: http://svn.apache.org/viewvc/incubator/river/site/trunk/content/river/doc/api/com/sun/jini/landlord/ConstrainableLandlordLeaseMap.html?rev=1052720&view=auto
==============================================================================
--- incubator/river/site/trunk/content/river/doc/api/com/sun/jini/landlord/ConstrainableLandlordLeaseMap.html (added)
+++ incubator/river/site/trunk/content/river/doc/api/com/sun/jini/landlord/ConstrainableLandlordLeaseMap.html Fri Dec 24 22:05:37 2010
@@ -0,0 +1,279 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_15) on Mon Mar 08 17:45:59 EST 2010 -->
+<TITLE>
+ConstrainableLandlordLeaseMap (Apache River v2.1.2-SNAPSHOT API Documentation)
+</TITLE>
+
+<META NAME="keywords" CONTENT="com.sun.jini.landlord.ConstrainableLandlordLeaseMap class">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="ConstrainableLandlordLeaseMap (Apache River v2.1.2-SNAPSHOT API Documentation)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</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=2 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/ConstrainableLandlordLeaseMap.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="../../../../com/sun/jini/landlord/ConstrainableLandlordLease.html" title="class in com.sun.jini.landlord"><B>PREV CLASS</B></A>
+ <A HREF="../../../../com/sun/jini/landlord/FixedLeasePeriodPolicy.html" title="class in com.sun.jini.landlord"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../index.html?com/sun/jini/landlord/ConstrainableLandlordLeaseMap.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="ConstrainableLandlordLeaseMap.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="#fields_inherited_from_class_com.sun.jini.lease.AbstractLeaseMap">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | CONSTR | <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">
+com.sun.jini.landlord</FONT>
+<BR>
+Class ConstrainableLandlordLeaseMap</H2>
+<PRE>
+<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A>
+ <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/sun/jini/lease/AbstractLeaseMap.html" title="class in com.sun.jini.lease">com.sun.jini.lease.AbstractLeaseMap</A>
+ <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/sun/jini/landlord/LandlordLeaseMap.html" title="class in com.sun.jini.landlord">com.sun.jini.landlord.LandlordLeaseMap</A>
+ <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.sun.jini.landlord.ConstrainableLandlordLeaseMap</B>
+</PRE>
+<DL>
+<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A>, <A HREF="../../../../net/jini/core/lease/LeaseMap.html" title="interface in net.jini.core.lease">LeaseMap</A></DD>
+</DL>
+<HR>
+<DL>
+<DT><PRE>public final class <B>ConstrainableLandlordLeaseMap</B><DT>extends <A HREF="../../../../com/sun/jini/landlord/LandlordLeaseMap.html" title="class in com.sun.jini.landlord">LandlordLeaseMap</A></DL>
+</PRE>
+
+<P>
+Constrainable sub-class of <code>LandlordLeaseMap</code>.
+<P>
+
+<P>
+<DL>
+<DT><B>Since:</B></DT>
+ <DD>2.0</DD>
+<DT><B>Author:</B></DT>
+ <DD>Sun Microsystems, Inc.</DD>
+</DL>
+<HR>
+
+<P>
+<!-- =========== FIELD SUMMARY =========== -->
+
+<A NAME="field_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>Field Summary</B></FONT></TH>
+</TR>
+</TABLE>
+ <A NAME="fields_inherited_from_class_com.sun.jini.lease.AbstractLeaseMap"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Fields inherited from class com.sun.jini.lease.<A HREF="../../../../com/sun/jini/lease/AbstractLeaseMap.html" title="class in com.sun.jini.lease">AbstractLeaseMap</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../../com/sun/jini/lease/AbstractLeaseMap.html#map">map</A></CODE></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">
+<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> boolean</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../com/sun/jini/landlord/ConstrainableLandlordLeaseMap.html#canContainKey(java.lang.Object)">canContainKey</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> key)</CODE>
+
+<BR>
+ Returns true if the given object is a Lease which can be renewed
+ and cancelled in a batch with other leases in the map.</TD>
+</TR>
+</TABLE>
+ <A NAME="methods_inherited_from_class_com.sun.jini.landlord.LandlordLeaseMap"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class com.sun.jini.landlord.<A HREF="../../../../com/sun/jini/landlord/LandlordLeaseMap.html" title="class in com.sun.jini.landlord">LandlordLeaseMap</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../../com/sun/jini/landlord/LandlordLeaseMap.html#cancelAll()">cancelAll</A>, <A HREF="../../../../com/sun/jini/landlord/LandlordLeaseMap.html#renewAll()">renewAll</A></CODE></TD>
+</TR>
+</TABLE>
+ <A NAME="methods_inherited_from_class_com.sun.jini.lease.AbstractLeaseMap"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class com.sun.jini.lease.<A HREF="../../../../com/sun/jini/lease/AbstractLeaseMap.html" title="class in com.sun.jini.lease">AbstractLeaseMap</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../../com/sun/jini/lease/AbstractLeaseMap.html#checkKey(java.lang.Object)">checkKey</A>, <A HREF="../../../../com/sun/jini/lease/AbstractLeaseMap.html#checkValue(java.lang.Object)">checkValue</A>, <A HREF="../../../../com/sun/jini/lease/AbstractLeaseMap.html#clear()">clear</A>, <A HREF="../../../../com/sun/jini/lease/AbstractLeaseMap.html#containsKey(java.lang.Object)">containsKey</A>, <A HREF="../../../../com/sun/jini/lease/AbstractLeaseMap.html#containsValue(java.lang.Object)">containsValue</A>, <A HREF="../../../../com/sun/jini/lease/AbstractLeaseMap.html#entrySet()">entrySet</A>, <A HREF="../../../../com/sun/jini/lease/AbstractLeaseMap.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../../com/sun/jini/lease/AbstractLeaseMap.html#get(java.lang.Object)">get</A>, <A HREF="../../../../com/sun/jini/lease/AbstractLeaseMap.html#hashCode()">hashCode</A>, <A HREF="../../../../com/sun/jini/lease/AbstractLeaseMap.html#isEmpty()">isEmpty</A>, <A HR
EF="../../../../com/sun/jini/lease/AbstractLeaseMap.html#keySet()">keySet</A>, <A HREF="../../../../com/sun/jini/lease/AbstractLeaseMap.html#put(java.lang.Object, java.lang.Object)">put</A>, <A HREF="../../../../com/sun/jini/lease/AbstractLeaseMap.html#putAll(java.util.Map)">putAll</A>, <A HREF="../../../../com/sun/jini/lease/AbstractLeaseMap.html#remove(java.lang.Object)">remove</A>, <A HREF="../../../../com/sun/jini/lease/AbstractLeaseMap.html#size()">size</A>, <A HREF="../../../../com/sun/jini/lease/AbstractLeaseMap.html#values()">values</A></CODE></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">
+<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.
4.2/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
+</TR>
+</TABLE>
+
+<P>
+
+<!-- ============ 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="canContainKey(java.lang.Object)"><!-- --></A><H3>
+canContainKey</H3>
+<PRE>
+public boolean <B>canContainKey</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> key)</PRE>
+<DL>
+<DD><B>Description copied from interface: <CODE><A HREF="../../../../net/jini/core/lease/LeaseMap.html#canContainKey(java.lang.Object)">LeaseMap</A></CODE></B></DD>
+<DD>Returns true if the given object is a Lease which can be renewed
+ and cancelled in a batch with other leases in the map. Whether
+ or not two Lease objects can be batched is an implementation
+ detail determined by the objects.
+<P>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/jini/core/lease/LeaseMap.html#canContainKey(java.lang.Object)">canContainKey</A></CODE> in interface <CODE><A HREF="../../../../net/jini/core/lease/LeaseMap.html" title="interface in net.jini.core.lease">LeaseMap</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/sun/jini/landlord/LandlordLeaseMap.html#canContainKey(java.lang.Object)">canContainKey</A></CODE> in class <CODE><A HREF="../../../../com/sun/jini/landlord/LandlordLeaseMap.html" title="class in com.sun.jini.landlord">LandlordLeaseMap</A></CODE></DL>
+</DD>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>key</CODE> - an object that should be a lease
+<DT><B>Returns:</B><DD>true if the lease can be renewed and cancelled in a
+ a batch with other leases<DT><B>See Also:</B><DD><A HREF="../../../../net/jini/core/lease/Lease.html#canBatch(net.jini.core.lease.Lease)"><CODE>Lease.canBatch(net.jini.core.lease.Lease)</CODE></A></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/ConstrainableLandlordLeaseMap.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="../../../../com/sun/jini/landlord/ConstrainableLandlordLease.html" title="class in com.sun.jini.landlord"><B>PREV CLASS</B></A>
+ <A HREF="../../../../com/sun/jini/landlord/FixedLeasePeriodPolicy.html" title="class in com.sun.jini.landlord"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../index.html?com/sun/jini/landlord/ConstrainableLandlordLeaseMap.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="ConstrainableLandlordLeaseMap.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="#fields_inherited_from_class_com.sun.jini.lease.AbstractLeaseMap">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+Copyright 2007, multiple authors.<br>Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0" target="child" >Apache License, Version 2.0</a>, see the <a href="../../../../doc-files/NOTICE" target="child" >NOTICE</a> file for attributions.
+</BODY>
+</HTML>
Added: incubator/river/site/trunk/content/river/doc/api/com/sun/jini/landlord/FixedLeasePeriodPolicy.html
URL: http://svn.apache.org/viewvc/incubator/river/site/trunk/content/river/doc/api/com/sun/jini/landlord/FixedLeasePeriodPolicy.html?rev=1052720&view=auto
==============================================================================
--- incubator/river/site/trunk/content/river/doc/api/com/sun/jini/landlord/FixedLeasePeriodPolicy.html (added)
+++ incubator/river/site/trunk/content/river/doc/api/com/sun/jini/landlord/FixedLeasePeriodPolicy.html Fri Dec 24 22:05:37 2010
@@ -0,0 +1,423 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_15) on Mon Mar 08 17:45:59 EST 2010 -->
+<TITLE>
+FixedLeasePeriodPolicy (Apache River v2.1.2-SNAPSHOT API Documentation)
+</TITLE>
+
+<META NAME="keywords" CONTENT="com.sun.jini.landlord.FixedLeasePeriodPolicy class">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="FixedLeasePeriodPolicy (Apache River v2.1.2-SNAPSHOT API Documentation)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</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=2 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/FixedLeasePeriodPolicy.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="../../../../com/sun/jini/landlord/ConstrainableLandlordLeaseMap.html" title="class in com.sun.jini.landlord"><B>PREV CLASS</B></A>
+ <A HREF="../../../../com/sun/jini/landlord/Landlord.html" title="interface in com.sun.jini.landlord"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../index.html?com/sun/jini/landlord/FixedLeasePeriodPolicy.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="FixedLeasePeriodPolicy.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 | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | <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">
+com.sun.jini.landlord</FONT>
+<BR>
+Class FixedLeasePeriodPolicy</H2>
+<PRE>
+<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A>
+ <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.sun.jini.landlord.FixedLeasePeriodPolicy</B>
+</PRE>
+<DL>
+<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../com/sun/jini/landlord/LeasePeriodPolicy.html" title="interface in com.sun.jini.landlord">LeasePeriodPolicy</A></DD>
+</DL>
+<HR>
+<DL>
+<DT><PRE>public class <B>FixedLeasePeriodPolicy</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A><DT>implements <A HREF="../../../../com/sun/jini/landlord/LeasePeriodPolicy.html" title="interface in com.sun.jini.landlord">LeasePeriodPolicy</A></DL>
+</PRE>
+
+<P>
+Simple implementation of <code>LeasePeriodPolicy</code> that grants
+ lease times based on a fixed default and maximum lease. Will grant
+ renewals longer than the maximum if the current lease and the
+ request are both longer than the maximum.
+<P>
+
+<P>
+<DL>
+<DT><B>Since:</B></DT>
+ <DD>2.0</DD>
+<DT><B>Author:</B></DT>
+ <DD>Sun Microsystems, Inc.</DD>
+</DL>
+<HR>
+
+<P>
+<!-- ======== NESTED CLASS SUMMARY ======== -->
+
+<A NAME="nested_class_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>Nested Class Summary</B></FONT></TH>
+</TR>
+</TABLE>
+ <A NAME="nested_classes_inherited_from_class_com.sun.jini.landlord.LeasePeriodPolicy"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Nested classes/interfaces inherited from interface com.sun.jini.landlord.<A HREF="../../../../com/sun/jini/landlord/LeasePeriodPolicy.html" title="interface in com.sun.jini.landlord">LeasePeriodPolicy</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../../com/sun/jini/landlord/LeasePeriodPolicy.Result.html" title="class in com.sun.jini.landlord">LeasePeriodPolicy.Result</A></CODE></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">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Constructor Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../../com/sun/jini/landlord/FixedLeasePeriodPolicy.html#FixedLeasePeriodPolicy(long, long)">FixedLeasePeriodPolicy</A></B>(long maximum,
+ long defaultLength)</CODE>
+
+<BR>
+ Create a new <code>FixedLeasePeriodPolicy</code> with
+ the specified values for the maxium and default lease
+ lengths.</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">
+<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>protected long</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../com/sun/jini/landlord/FixedLeasePeriodPolicy.html#calculateDuration(com.sun.jini.landlord.LeasedResource, long)">calculateDuration</A></B>(<A HREF="../../../../com/sun/jini/landlord/LeasedResource.html" title="interface in com.sun.jini.landlord">LeasedResource</A> resource,
+ long requestedDuration)</CODE>
+
+<BR>
+ Returns the duration this policy is willing to grant for the
+ passed resource at this time.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected long</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../com/sun/jini/landlord/FixedLeasePeriodPolicy.html#currentTime()">currentTime</A></B>()</CODE>
+
+<BR>
+ Method that provides some notion of the current time in milliseconds
+ since the beginning of the epoch.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../../com/sun/jini/landlord/LeasePeriodPolicy.Result.html" title="class in com.sun.jini.landlord">LeasePeriodPolicy.Result</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../com/sun/jini/landlord/FixedLeasePeriodPolicy.html#grant(com.sun.jini.landlord.LeasedResource, long)">grant</A></B>(<A HREF="../../../../com/sun/jini/landlord/LeasedResource.html" title="interface in com.sun.jini.landlord">LeasedResource</A> resource,
+ long requestedDuration)</CODE>
+
+<BR>
+ Calculate the initial expiration and duration for
+ a new lease.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../../com/sun/jini/landlord/LeasePeriodPolicy.Result.html" title="class in com.sun.jini.landlord">LeasePeriodPolicy.Result</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../com/sun/jini/landlord/FixedLeasePeriodPolicy.html#renew(com.sun.jini.landlord.LeasedResource, long)">renew</A></B>(<A HREF="../../../../com/sun/jini/landlord/LeasedResource.html" title="interface in com.sun.jini.landlord">LeasedResource</A> resource,
+ long requestedDuration)</CODE>
+
+<BR>
+ Calculate the expiration and duration for an
+ existing lease that is being renewed.</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">
+<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://
java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
+</TR>
+</TABLE>
+
+<P>
+
+<!-- ========= 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="FixedLeasePeriodPolicy(long, long)"><!-- --></A><H3>
+FixedLeasePeriodPolicy</H3>
+<PRE>
+public <B>FixedLeasePeriodPolicy</B>(long maximum,
+ long defaultLength)</PRE>
+<DL>
+<DD>Create a new <code>FixedLeasePeriodPolicy</code> with
+ the specified values for the maxium and default lease
+ lengths.
+<P>
+<DL>
+<DT><B>Parameters:</B><DD><CODE>maximum</CODE> - the length in milliseconds of the longest lease
+ this object should normally grant<DD><CODE>defaultLength</CODE> - the length in milliseconds of the
+ default lease grants
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if either argument
+ is not positive.</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="calculateDuration(com.sun.jini.landlord.LeasedResource, long)"><!-- --></A><H3>
+calculateDuration</H3>
+<PRE>
+protected long <B>calculateDuration</B>(<A HREF="../../../../com/sun/jini/landlord/LeasedResource.html" title="interface in com.sun.jini.landlord">LeasedResource</A> resource,
+ long requestedDuration)</PRE>
+<DL>
+<DD>Returns the duration this policy is willing to grant for the
+ passed resource at this time. The duration actually granted
+ will be shorter if the duration extends pass the end of the
+ epoch. Must return a positive number.
+ <p>
+ Note the duration returned by this method will be shorter than
+ the final duration granted if the requested duration extends
+ past the current expiration, and duration return by this
+ method is before the current expiration.
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>resource</CODE> - the resource having a lease granted
+ or renewed<DD><CODE>requestedDuration</CODE> - the duration the client wants
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - thrown if requestedDuration
+ is less than 0 and not equal to
+ <code>Lease.ANYLENGTH</code> or
+ <code>Lease.FOREVER</code>.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="currentTime()"><!-- --></A><H3>
+currentTime</H3>
+<PRE>
+protected long <B>currentTime</B>()</PRE>
+<DL>
+<DD>Method that provides some notion of the current time in milliseconds
+ since the beginning of the epoch. Default implementation
+ calls System.currentTimeMillis()
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="grant(com.sun.jini.landlord.LeasedResource, long)"><!-- --></A><H3>
+grant</H3>
+<PRE>
+public <A HREF="../../../../com/sun/jini/landlord/LeasePeriodPolicy.Result.html" title="class in com.sun.jini.landlord">LeasePeriodPolicy.Result</A> <B>grant</B>(<A HREF="../../../../com/sun/jini/landlord/LeasedResource.html" title="interface in com.sun.jini.landlord">LeasedResource</A> resource,
+ long requestedDuration)
+ throws <A HREF="../../../../net/jini/core/lease/LeaseDeniedException.html" title="class in net.jini.core.lease">LeaseDeniedException</A></PRE>
+<DL>
+<DD><B>Description copied from interface: <CODE><A HREF="../../../../com/sun/jini/landlord/LeasePeriodPolicy.html#grant(com.sun.jini.landlord.LeasedResource, long)">LeasePeriodPolicy</A></CODE></B></DD>
+<DD>Calculate the initial expiration and duration for
+ a new lease.
+<P>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/sun/jini/landlord/LeasePeriodPolicy.html#grant(com.sun.jini.landlord.LeasedResource, long)">grant</A></CODE> in interface <CODE><A HREF="../../../../com/sun/jini/landlord/LeasePeriodPolicy.html" title="interface in com.sun.jini.landlord">LeasePeriodPolicy</A></CODE></DL>
+</DD>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>resource</CODE> - the server side representation of the new lease that
+ needs an initial expiration and duration<DD><CODE>requestedDuration</CODE> - the initial duration the
+ requester of the resources would like. May be
+ <code>Lease.ANY</code>
+<DT><B>Returns:</B><DD>A <code>Result</code> that holds
+ both the expiration and duration.
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../../net/jini/core/lease/LeaseDeniedException.html" title="class in net.jini.core.lease">LeaseDeniedException</A></CODE> - if the grant request
+ is denied.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="renew(com.sun.jini.landlord.LeasedResource, long)"><!-- --></A><H3>
+renew</H3>
+<PRE>
+public <A HREF="../../../../com/sun/jini/landlord/LeasePeriodPolicy.Result.html" title="class in com.sun.jini.landlord">LeasePeriodPolicy.Result</A> <B>renew</B>(<A HREF="../../../../com/sun/jini/landlord/LeasedResource.html" title="interface in com.sun.jini.landlord">LeasedResource</A> resource,
+ long requestedDuration)
+ throws <A HREF="../../../../net/jini/core/lease/LeaseDeniedException.html" title="class in net.jini.core.lease">LeaseDeniedException</A></PRE>
+<DL>
+<DD><B>Description copied from interface: <CODE><A HREF="../../../../com/sun/jini/landlord/LeasePeriodPolicy.html#renew(com.sun.jini.landlord.LeasedResource, long)">LeasePeriodPolicy</A></CODE></B></DD>
+<DD>Calculate the expiration and duration for an
+ existing lease that is being renewed.
+<P>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/sun/jini/landlord/LeasePeriodPolicy.html#renew(com.sun.jini.landlord.LeasedResource, long)">renew</A></CODE> in interface <CODE><A HREF="../../../../com/sun/jini/landlord/LeasePeriodPolicy.html" title="interface in com.sun.jini.landlord">LeasePeriodPolicy</A></CODE></DL>
+</DD>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>resource</CODE> - the server side representation of the lease that is
+ being renewed<DD><CODE>requestedDuration</CODE> - the duration the client is requesting. May be
+ <code>Lease.ANY</code>.
+<DT><B>Returns:</B><DD>A <code>Result</code> that holds
+ both the expiration and duration.
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../../net/jini/core/lease/LeaseDeniedException.html" title="class in net.jini.core.lease">LeaseDeniedException</A></CODE> - if the renewal request
+ is denied.</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/FixedLeasePeriodPolicy.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="../../../../com/sun/jini/landlord/ConstrainableLandlordLeaseMap.html" title="class in com.sun.jini.landlord"><B>PREV CLASS</B></A>
+ <A HREF="../../../../com/sun/jini/landlord/Landlord.html" title="interface in com.sun.jini.landlord"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../index.html?com/sun/jini/landlord/FixedLeasePeriodPolicy.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="FixedLeasePeriodPolicy.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 | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | <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 2007, multiple authors.<br>Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0" target="child" >Apache License, Version 2.0</a>, see the <a href="../../../../doc-files/NOTICE" target="child" >NOTICE</a> file for attributions.
+</BODY>
+</HTML>