ePOST API

rice.post.delivery
Interface DeliveryPast

All Superinterfaces:
GCPast, Past
All Known Implementing Classes:
DeliveryPastImpl

public interface DeliveryPast
extends GCPast

Interface which represents a POST-specific pending-delivery PAST storage.

Version:
$Id: DeliveryPast.java 2302 2005-03-11 00:58:26Z jeffh $
Author:
Alan Mislove, Ansley Post, Peter Druschel

Field Summary
 
Fields inherited from interface rice.p2p.past.gc.GCPast
INFINITY_EXPIRATION
 
Method Summary
 void getGroups(Continuation command)
          Returns the list of PostEntityaddress for which we are the primary replica responsible for delivering messages.
 void getMessage(PostEntityAddress address, Continuation command)
          Returns the first message which is still pending to the given address.
 void synchronize(Continuation command)
          Method which periodically checks to see if we've got receipts for any outstanding messages.
 
Methods inherited from interface rice.p2p.past.gc.GCPast
insert, insert, refresh, refresh
 
Methods inherited from interface rice.p2p.past.Past
fetch, getEnvironment, getInstance, getLocalNodeHandle, getReplicationFactor, lookup, lookup, lookupHandle, lookupHandles
 

Method Detail

synchronize

void synchronize(Continuation command)
Method which periodically checks to see if we've got receipts for any outstanding messages. If so, then we remove the outstanding message from our pending list.


getGroups

void getGroups(Continuation command)
Returns the list of PostEntityaddress for which we are the primary replica responsible for delivering messages.

Parameters:
command - The command to return the results to

getMessage

void getMessage(PostEntityAddress address,
                Continuation command)
Returns the first message which is still pending to the given address. If no such message exists, null is returned

Parameters:
address - The address for the message
command - The command to return the results to

ePOST API

Copyright © 2001-2005 - Rice Pastry.