rice.p2p.glacier.v2
Class Manifest
java.lang.Object
rice.p2p.glacier.v2.Manifest
-
All Implemented Interfaces:
- java.io.Serializable
-
public class Manifest
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
Constructor Summary |
Manifest(byte[] objectHash,
byte[][] fragmentHash,
long expirationDate)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
objectHash
protected transient byte[] objectHash
fragmentHash
protected transient byte[][] fragmentHash
signature
protected transient byte[] signature
expirationDate
protected long expirationDate
Manifest
public Manifest(byte[] objectHash,
byte[][] fragmentHash,
long expirationDate)
getObjectHash
public byte[] getObjectHash()
-
-
getFragmentHash
public byte[] getFragmentHash(int fragmentID)
-
-
getFragmentHashes
public byte[][] getFragmentHashes()
-
-
getSignature
public byte[] getSignature()
-
-
setSignature
public void setSignature(byte[] signature)
-
-
getExpiration
public long getExpiration()
-
-
update
public void update(long newExpirationDate,
byte[] newSignature)
-
-
validatesFragment
public boolean validatesFragment(Fragment fragment,
int fragmentID,
Logger logger)
-
-
toString
public java.lang.String toString()
-
- Overrides:
-
toString
in class java.lang.Object
-
toStringFull
public java.lang.String toStringFull()
-
-
Copyright © 2001-2005 - Rice Pastry.