tapestry.ptr.impl.dht
Class DhtRemoveReq

java.lang.Object
  |
  +--tapestry.ptr.impl.dht.DhtReq
        |
        +--tapestry.ptr.impl.dht.DhtRemoveReq
All Implemented Interfaces:
QueueElementIF

public class DhtRemoveReq
extends DhtReq

DhtRemoveReq instructs the DHT to remove the object for given guid / PublishInfo pair. That is, Removes the object from indicated root set maintained by DHT or to remove the object from the nonroot set. For example, root=false as a local cache that does not need to be maintained.

Version:
$Id: DhtRemoveReq.java,v 1.1.1.1 2004/03/26 19:57:11 hweather Exp $
Author:
Hakim Weatherspoon

Field Summary
 SecureHash[] objguids
          Array of objguids to remove from DHT.
 PublishInfo[] pinfos
          Array of PublishInfo to remove from DHT.
 boolean[] root
          Array indicating to remove from root (or nonroot) set
 
Fields inherited from class tapestry.ptr.impl.dht.DhtReq
appId, sink, userData
 
Constructor Summary
DhtRemoveReq(SecureHash[] o, PublishInfo[] p, boolean[] r, long a, Object u, SinkIF s)
          Constructor: Creates a new DhtRemoveReq.
DhtRemoveReq(SecureHash o, PublishInfo p, boolean r, long a, Object u, SinkIF s)
          Constructor: Creates a new DhtPutReq.
 
Method Summary
 String toString()
          Specified by java.lang.Object
 
Methods inherited from class tapestry.ptr.impl.dht.DhtReq
BUG
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

objguids

public SecureHash[] objguids
Array of objguids to remove from DHT.


pinfos

public PublishInfo[] pinfos
Array of PublishInfo to remove from DHT.


root

public boolean[] root
Array indicating to remove from root (or nonroot) set

Constructor Detail

DhtRemoveReq

public DhtRemoveReq(SecureHash[] o,
                    PublishInfo[] p,
                    boolean[] r,
                    long a,
                    Object u,
                    SinkIF s)
Constructor: Creates a new DhtRemoveReq.

Parameters:
o - objguids to remove from DHT
p - PublishInfos to remove from DHT
r - Array indicating to remove from root (or nonroot) set
a - Unique identifier for a destination application.
u - Requestor defined object to be returned in the resp.
s - Requestor sink to return resp

DhtRemoveReq

public DhtRemoveReq(SecureHash o,
                    PublishInfo p,
                    boolean r,
                    long a,
                    Object u,
                    SinkIF s)
Constructor: Creates a new DhtPutReq.

Parameters:
o - objguid to store in DHT
p - PublishInfo to store in DHT
r - Flag indicating to store in root (or nonroot) set
a - Unique identifier for a destination application.
u - Requestor defined object to be returned in the resp.
s - Requestor sink to return resp
Method Detail

toString

public String toString()
Specified by java.lang.Object

Specified by:
toString in class DhtReq