mirror of
https://github.com/ChronosX88/FreePastry.git
synced 2025-01-16 09:36:27 +00:00
444 lines
24 KiB
HTML
444 lines
24 KiB
HTML
<!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.6.0_07) on Fri Mar 13 20:01:34 CET 2009 -->
|
|
<TITLE>
|
|
RawPastRegrTest.NonOverwritingTestPastContent (Rice Pastry - API Specifications)
|
|
</TITLE>
|
|
|
|
<META NAME="date" CONTENT="2009-03-13">
|
|
|
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
|
|
|
<SCRIPT type="text/javascript">
|
|
function windowTitle()
|
|
{
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="RawPastRegrTest.NonOverwritingTestPastContent (Rice Pastry - API Specifications)";
|
|
}
|
|
}
|
|
</SCRIPT>
|
|
<NOSCRIPT>
|
|
</NOSCRIPT>
|
|
|
|
</HEAD>
|
|
|
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
|
<HR>
|
|
|
|
|
|
<!-- ========= 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/RawPastRegrTest.NonOverwritingTestPastContent.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>
|
|
Rice Pastry API</EM>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../../../rice/p2p/past/testing/RawPastRegrTest.NonMutableTestPastContent.html" title="class in rice.p2p.past.testing"><B>PREV CLASS</B></A>
|
|
<A HREF="../../../../rice/p2p/past/testing/RawPastRegrTest.TestCommand.html" title="class in rice.p2p.past.testing"><B>NEXT CLASS</B></A></FONT></TD>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../../../index.html?rice/p2p/past/testing/RawPastRegrTest.NonOverwritingTestPastContent.html" target="_top"><B>FRAMES</B></A>
|
|
<A HREF="RawPastRegrTest.NonOverwritingTestPastContent.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">
|
|
rice.p2p.past.testing</FONT>
|
|
<BR>
|
|
Class RawPastRegrTest.NonOverwritingTestPastContent</H2>
|
|
<PRE>
|
|
java.lang.Object
|
|
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../rice/p2p/past/testing/RawPastRegrTest.TestPastContent.html" title="class in rice.p2p.past.testing">rice.p2p.past.testing.RawPastRegrTest.TestPastContent</A>
|
|
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../rice/p2p/past/testing/RawPastRegrTest.VersionedTestPastContent.html" title="class in rice.p2p.past.testing">rice.p2p.past.testing.RawPastRegrTest.VersionedTestPastContent</A>
|
|
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>rice.p2p.past.testing.RawPastRegrTest.NonOverwritingTestPastContent</B>
|
|
</PRE>
|
|
<DL>
|
|
<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable, <A HREF="../../../../rice/p2p/past/PastContent.html" title="interface in rice.p2p.past">PastContent</A>, <A HREF="../../../../rice/p2p/past/rawserialization/RawPastContent.html" title="interface in rice.p2p.past.rawserialization">RawPastContent</A></DD>
|
|
</DL>
|
|
<DL>
|
|
<DT><B>Enclosing class:</B><DD><A HREF="../../../../rice/p2p/past/testing/RawPastRegrTest.html" title="class in rice.p2p.past.testing">RawPastRegrTest</A></DD>
|
|
</DL>
|
|
<HR>
|
|
<DL>
|
|
<DT><PRE>protected static class <B>RawPastRegrTest.NonOverwritingTestPastContent</B><DT>extends <A HREF="../../../../rice/p2p/past/testing/RawPastRegrTest.VersionedTestPastContent.html" title="class in rice.p2p.past.testing">RawPastRegrTest.VersionedTestPastContent</A></DL>
|
|
</PRE>
|
|
|
|
<P>
|
|
<DL>
|
|
<DT><B>See Also:</B><DD><A HREF="../../../../serialized-form.html#rice.p2p.past.testing.RawPastRegrTest.NonOverwritingTestPastContent">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>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static short</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../rice/p2p/past/testing/RawPastRegrTest.NonOverwritingTestPastContent.html#TYPE">TYPE</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="fields_inherited_from_class_rice.p2p.past.testing.RawPastRegrTest.VersionedTestPastContent"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
|
<TH ALIGN="left"><B>Fields inherited from class rice.p2p.past.testing.<A HREF="../../../../rice/p2p/past/testing/RawPastRegrTest.VersionedTestPastContent.html" title="class in rice.p2p.past.testing">RawPastRegrTest.VersionedTestPastContent</A></B></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE><A HREF="../../../../rice/p2p/past/testing/RawPastRegrTest.VersionedTestPastContent.html#version">version</A></CODE></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="fields_inherited_from_class_rice.p2p.past.testing.RawPastRegrTest.TestPastContent"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
|
<TH ALIGN="left"><B>Fields inherited from class rice.p2p.past.testing.<A HREF="../../../../rice/p2p/past/testing/RawPastRegrTest.TestPastContent.html" title="class in rice.p2p.past.testing">RawPastRegrTest.TestPastContent</A></B></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE><A HREF="../../../../rice/p2p/past/testing/RawPastRegrTest.TestPastContent.html#existing">existing</A>, <A HREF="../../../../rice/p2p/past/testing/RawPastRegrTest.TestPastContent.html#id">id</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="../../../../rice/p2p/past/testing/RawPastRegrTest.NonOverwritingTestPastContent.html#RawPastRegrTest.NonOverwritingTestPastContent(rice.p2p.commonapi.Id, int)">RawPastRegrTest.NonOverwritingTestPastContent</A></B>(<A HREF="../../../../rice/p2p/commonapi/Id.html" title="interface in rice.p2p.commonapi">Id</A> id,
|
|
int version)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE><B><A HREF="../../../../rice/p2p/past/testing/RawPastRegrTest.NonOverwritingTestPastContent.html#RawPastRegrTest.NonOverwritingTestPastContent(rice.p2p.commonapi.rawserialization.InputBuffer, rice.p2p.commonapi.Endpoint, rice.p2p.past.rawserialization.PastContentDeserializer)">RawPastRegrTest.NonOverwritingTestPastContent</A></B>(<A HREF="../../../../rice/p2p/commonapi/rawserialization/InputBuffer.html" title="interface in rice.p2p.commonapi.rawserialization">InputBuffer</A> buf,
|
|
<A HREF="../../../../rice/p2p/commonapi/Endpoint.html" title="interface in rice.p2p.commonapi">Endpoint</A> endpoint,
|
|
<A HREF="../../../../rice/p2p/past/rawserialization/PastContentDeserializer.html" title="interface in rice.p2p.past.rawserialization">PastContentDeserializer</A> pcd)</CODE>
|
|
|
|
<BR>
|
|
</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> <A HREF="../../../../rice/p2p/past/PastContent.html" title="interface in rice.p2p.past">PastContent</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../rice/p2p/past/testing/RawPastRegrTest.NonOverwritingTestPastContent.html#checkInsert(rice.p2p.commonapi.Id, rice.p2p.past.PastContent)">checkInsert</A></B>(<A HREF="../../../../rice/p2p/commonapi/Id.html" title="interface in rice.p2p.commonapi">Id</A> id,
|
|
<A HREF="../../../../rice/p2p/past/PastContent.html" title="interface in rice.p2p.past">PastContent</A> existingContent)</CODE>
|
|
|
|
<BR>
|
|
Checks if a insert operation should be allowed.</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="../../../../rice/p2p/past/testing/RawPastRegrTest.NonOverwritingTestPastContent.html#equals(java.lang.Object)">equals</A></B>(java.lang.Object o)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> short</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../rice/p2p/past/testing/RawPastRegrTest.NonOverwritingTestPastContent.html#getType()">getType</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> java.lang.String</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../rice/p2p/past/testing/RawPastRegrTest.NonOverwritingTestPastContent.html#toString()">toString</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="methods_inherited_from_class_rice.p2p.past.testing.RawPastRegrTest.VersionedTestPastContent"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
|
<TH ALIGN="left"><B>Methods inherited from class rice.p2p.past.testing.<A HREF="../../../../rice/p2p/past/testing/RawPastRegrTest.VersionedTestPastContent.html" title="class in rice.p2p.past.testing">RawPastRegrTest.VersionedTestPastContent</A></B></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE><A HREF="../../../../rice/p2p/past/testing/RawPastRegrTest.VersionedTestPastContent.html#serialize(rice.p2p.commonapi.rawserialization.OutputBuffer)">serialize</A></CODE></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="methods_inherited_from_class_rice.p2p.past.testing.RawPastRegrTest.TestPastContent"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
|
<TH ALIGN="left"><B>Methods inherited from class rice.p2p.past.testing.<A HREF="../../../../rice/p2p/past/testing/RawPastRegrTest.TestPastContent.html" title="class in rice.p2p.past.testing">RawPastRegrTest.TestPastContent</A></B></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE><A HREF="../../../../rice/p2p/past/testing/RawPastRegrTest.TestPastContent.html#getHandle(rice.p2p.past.Past)">getHandle</A>, <A HREF="../../../../rice/p2p/past/testing/RawPastRegrTest.TestPastContent.html#getId()">getId</A>, <A HREF="../../../../rice/p2p/past/testing/RawPastRegrTest.TestPastContent.html#isMutable()">isMutable</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.Object</B></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE>clone, finalize, getClass, hashCode, notify, notifyAll, 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">
|
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
<B>Field Detail</B></FONT></TH>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<A NAME="TYPE"><!-- --></A><H3>
|
|
TYPE</H3>
|
|
<PRE>
|
|
public static final short <B>TYPE</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#rice.p2p.past.testing.RawPastRegrTest.NonOverwritingTestPastContent.TYPE">Constant Field Values</A></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="RawPastRegrTest.NonOverwritingTestPastContent(rice.p2p.commonapi.Id, int)"><!-- --></A><H3>
|
|
RawPastRegrTest.NonOverwritingTestPastContent</H3>
|
|
<PRE>
|
|
public <B>RawPastRegrTest.NonOverwritingTestPastContent</B>(<A HREF="../../../../rice/p2p/commonapi/Id.html" title="interface in rice.p2p.commonapi">Id</A> id,
|
|
int version)</PRE>
|
|
<DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="RawPastRegrTest.NonOverwritingTestPastContent(rice.p2p.commonapi.rawserialization.InputBuffer, rice.p2p.commonapi.Endpoint, rice.p2p.past.rawserialization.PastContentDeserializer)"><!-- --></A><H3>
|
|
RawPastRegrTest.NonOverwritingTestPastContent</H3>
|
|
<PRE>
|
|
public <B>RawPastRegrTest.NonOverwritingTestPastContent</B>(<A HREF="../../../../rice/p2p/commonapi/rawserialization/InputBuffer.html" title="interface in rice.p2p.commonapi.rawserialization">InputBuffer</A> buf,
|
|
<A HREF="../../../../rice/p2p/commonapi/Endpoint.html" title="interface in rice.p2p.commonapi">Endpoint</A> endpoint,
|
|
<A HREF="../../../../rice/p2p/past/rawserialization/PastContentDeserializer.html" title="interface in rice.p2p.past.rawserialization">PastContentDeserializer</A> pcd)
|
|
throws java.io.IOException</PRE>
|
|
<DL>
|
|
<DL>
|
|
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE>java.io.IOException</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="checkInsert(rice.p2p.commonapi.Id, rice.p2p.past.PastContent)"><!-- --></A><H3>
|
|
checkInsert</H3>
|
|
<PRE>
|
|
public <A HREF="../../../../rice/p2p/past/PastContent.html" title="interface in rice.p2p.past">PastContent</A> <B>checkInsert</B>(<A HREF="../../../../rice/p2p/commonapi/Id.html" title="interface in rice.p2p.commonapi">Id</A> id,
|
|
<A HREF="../../../../rice/p2p/past/PastContent.html" title="interface in rice.p2p.past">PastContent</A> existingContent)
|
|
throws <A HREF="../../../../rice/p2p/past/PastException.html" title="class in rice.p2p.past">PastException</A></PRE>
|
|
<DL>
|
|
<DD><B>Description copied from interface: <CODE><A HREF="../../../../rice/p2p/past/PastContent.html#checkInsert(rice.p2p.commonapi.Id, rice.p2p.past.PastContent)">PastContent</A></CODE></B></DD>
|
|
<DD>Checks if a insert operation should be allowed. Invoked when a
|
|
Past node receives an insert request and it is a replica root for
|
|
the id; invoked on the object to be inserted. This method
|
|
determines the effect of an insert operation on an object that
|
|
already exists: it computes the new value of the stored object,
|
|
as a function of the new and the existing object.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../rice/p2p/past/PastContent.html#checkInsert(rice.p2p.commonapi.Id, rice.p2p.past.PastContent)">checkInsert</A></CODE> in interface <CODE><A HREF="../../../../rice/p2p/past/PastContent.html" title="interface in rice.p2p.past">PastContent</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../rice/p2p/past/testing/RawPastRegrTest.TestPastContent.html#checkInsert(rice.p2p.commonapi.Id, rice.p2p.past.PastContent)">checkInsert</A></CODE> in class <CODE><A HREF="../../../../rice/p2p/past/testing/RawPastRegrTest.TestPastContent.html" title="class in rice.p2p.past.testing">RawPastRegrTest.TestPastContent</A></CODE></DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>id</CODE> - the key identifying the object
|
|
<DT><B>Returns:</B><DD>null, if the operation is not allowed; else, the new
|
|
object to be stored on the local node.
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../../../../rice/p2p/past/PastException.html" title="class in rice.p2p.past">PastException</A></CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="toString()"><!-- --></A><H3>
|
|
toString</H3>
|
|
<PRE>
|
|
public java.lang.String <B>toString</B>()</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../rice/p2p/past/testing/RawPastRegrTest.VersionedTestPastContent.html#toString()">toString</A></CODE> in class <CODE><A HREF="../../../../rice/p2p/past/testing/RawPastRegrTest.VersionedTestPastContent.html" title="class in rice.p2p.past.testing">RawPastRegrTest.VersionedTestPastContent</A></CODE></DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getType()"><!-- --></A><H3>
|
|
getType</H3>
|
|
<PRE>
|
|
public short <B>getType</B>()</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../rice/p2p/past/rawserialization/RawPastContent.html#getType()">getType</A></CODE> in interface <CODE><A HREF="../../../../rice/p2p/past/rawserialization/RawPastContent.html" title="interface in rice.p2p.past.rawserialization">RawPastContent</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../rice/p2p/past/testing/RawPastRegrTest.VersionedTestPastContent.html#getType()">getType</A></CODE> in class <CODE><A HREF="../../../../rice/p2p/past/testing/RawPastRegrTest.VersionedTestPastContent.html" title="class in rice.p2p.past.testing">RawPastRegrTest.VersionedTestPastContent</A></CODE></DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="equals(java.lang.Object)"><!-- --></A><H3>
|
|
equals</H3>
|
|
<PRE>
|
|
public boolean <B>equals</B>(java.lang.Object o)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../rice/p2p/past/testing/RawPastRegrTest.VersionedTestPastContent.html#equals(java.lang.Object)">equals</A></CODE> in class <CODE><A HREF="../../../../rice/p2p/past/testing/RawPastRegrTest.VersionedTestPastContent.html" title="class in rice.p2p.past.testing">RawPastRegrTest.VersionedTestPastContent</A></CODE></DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</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/RawPastRegrTest.NonOverwritingTestPastContent.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>
|
|
Rice Pastry API</EM>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../../../rice/p2p/past/testing/RawPastRegrTest.NonMutableTestPastContent.html" title="class in rice.p2p.past.testing"><B>PREV CLASS</B></A>
|
|
<A HREF="../../../../rice/p2p/past/testing/RawPastRegrTest.TestCommand.html" title="class in rice.p2p.past.testing"><B>NEXT CLASS</B></A></FONT></TD>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../../../index.html?rice/p2p/past/testing/RawPastRegrTest.NonOverwritingTestPastContent.html" target="_top"><B>FRAMES</B></A>
|
|
<A HREF="RawPastRegrTest.NonOverwritingTestPastContent.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_bottom"></A>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
|
|
<HR>
|
|
<i>Copyright © 2001-2005 - Rice Pastry.</i>
|
|
</BODY>
|
|
</HTML>
|