Package i5.las2peer.persistency
-
Interface Summary Interface Description L2pStorageInterface NodeStorageInterface StorageArtifactHandler StorageCollisionHandler This interface can be used to implement a handler that is called if a collision occurs during a store operation.StorageEnvelopeHandler This interface can be used to implement a handler that receives successfully fetched envelopes from the network.StorageExceptionHandler This interface can be used to implement a handler that recieves exceptions occurring during network operations.StorageLookupHandler StoragePartsHandler StorageStoreResultHandler This interface can be used to implement a handler that receives the result from a store operation. -
Class Summary Class Description AbstractArtifact EnvelopeArtifact EnvelopeGenerator A simple command line tool for generating XML envelopes to the standard out.EnvelopeImpl EnvelopeVersion HashedArtifact This class represents a bunch of arbitrary data in the shared storage.LocalStorage MetadataArtifact MetadataEnvelope NetworkArtifact A network artifact is a bunch of arbitrary data in the shared storage.SharedStorage -
Enum Summary Enum Description SharedStorage.STORAGE_MODE Storage mode for the pastry node – either use only memory or the file system for stored artifacts. -
Exception Summary Exception Description DecodingFailedException Exception thrown, if the decoding has failed for some reason.EncodingFailedException Exception thrown if an encoding has failed for some reason.OverwriteException A simple exception thrown on a forbidden attempt to overwrite an envelope.StopMergingException This exception should be thrown by aStorageCollisionHandler
if there should be no further merging attempt.VerificationFailedException Exception thrown on failed cryptografic signature verifications.