Rice Pastry API

rice.p2p.past.testing
Class RawPastRegrTest.NonOverwritingTestPastContent

java.lang.Object
  extended byrice.p2p.past.testing.RawPastRegrTest.TestPastContent
      extended byrice.p2p.past.testing.RawPastRegrTest.VersionedTestPastContent
          extended byrice.p2p.past.testing.RawPastRegrTest.NonOverwritingTestPastContent
All Implemented Interfaces:
PastContent, RawPastContent, java.io.Serializable
Enclosing class:
RawPastRegrTest

protected static class RawPastRegrTest.NonOverwritingTestPastContent
extends RawPastRegrTest.VersionedTestPastContent

DESCRIBE THE CLASS

Version:
$Id: pretty.settings 2305 2005-03-11 20:22:33Z jeffh $
Author:
jeffh
See Also:
Serialized Form

Field Summary
 
Fields inherited from class rice.p2p.past.testing.RawPastRegrTest.VersionedTestPastContent
TYPE, version
 
Fields inherited from class rice.p2p.past.testing.RawPastRegrTest.TestPastContent
existing, id
 
Constructor Summary
RawPastRegrTest.NonOverwritingTestPastContent(Id id, int version)
          Constructor for NonOverwritingTestPastContent.
 
Method Summary
 PastContent checkInsert(Id id, PastContent existingContent)
          DESCRIBE THE METHOD
 
Methods inherited from class rice.p2p.past.testing.RawPastRegrTest.VersionedTestPastContent
equals, getType, serialize, toString
 
Methods inherited from class rice.p2p.past.testing.RawPastRegrTest.TestPastContent
getHandle, getId, isMutable
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RawPastRegrTest.NonOverwritingTestPastContent

public RawPastRegrTest.NonOverwritingTestPastContent(Id id,
                                                     int version)
Constructor for NonOverwritingTestPastContent.

Parameters:
id - DESCRIBE THE PARAMETER
version - DESCRIBE THE PARAMETER
Method Detail

checkInsert

public PastContent checkInsert(Id id,
                               PastContent existingContent)
                        throws PastException
DESCRIBE THE METHOD

Specified by:
checkInsert in interface PastContent
Overrides:
checkInsert in class RawPastRegrTest.TestPastContent
Parameters:
id - DESCRIBE THE PARAMETER
existingContent - DESCRIBE THE PARAMETER
Returns:
DESCRIBE THE RETURN VALUE
Throws:
PastException - DESCRIBE THE EXCEPTION

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection