ePOST API

rice.p2p.glacier.v2
Interface GlacierPolicy

All Known Implementing Classes:
GlacierDefaultPolicy

public interface GlacierPolicy


Method Summary
 boolean checkSignature(Manifest manifest, VersionKey key)
           
 Manifest[] createManifests(VersionKey key, java.io.Serializable obj, Fragment[] fragments, long expiration)
           
 java.io.Serializable decodeObject(Fragment[] fragments)
           
 Fragment[] encodeObject(java.io.Serializable obj, boolean[] generateFragment)
           
 void prefetchLocalObject(VersionKey key, Continuation command)
           
 Manifest updateManifest(VersionKey key, Manifest manifest, long newExpiration)
           
 

Method Detail

checkSignature

boolean checkSignature(Manifest manifest,
                       VersionKey key)

encodeObject

Fragment[] encodeObject(java.io.Serializable obj,
                        boolean[] generateFragment)

createManifests

Manifest[] createManifests(VersionKey key,
                           java.io.Serializable obj,
                           Fragment[] fragments,
                           long expiration)

updateManifest

Manifest updateManifest(VersionKey key,
                        Manifest manifest,
                        long newExpiration)

decodeObject

java.io.Serializable decodeObject(Fragment[] fragments)

prefetchLocalObject

void prefetchLocalObject(VersionKey key,
                         Continuation command)

ePOST API

Copyright © 2001-2005 - Rice Pastry.