Class AbstractArtifact

java.lang.Object
rice.p2p.past.ContentHashPastContent
i5.las2peer.persistency.AbstractArtifact
All Implemented Interfaces:
Serializable, rice.p2p.past.PastContent
Direct Known Subclasses:
HashedArtifact, NetworkArtifact

public abstract class AbstractArtifact extends rice.p2p.past.ContentHashPastContent
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final byte[]
     
    static final int
     

    Fields inherited from class rice.p2p.past.ContentHashPastContent

    myId
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    AbstractArtifact(rice.p2p.commonapi.Id id, byte[] content)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    rice.p2p.past.PastContent
    checkInsert(rice.p2p.commonapi.Id id, rice.p2p.past.PastContent existingContent)
     
    byte[]
     
     
    void
     

    Methods inherited from class rice.p2p.past.ContentHashPastContent

    getHandle, getId, isMutable

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • MAX_SIZE

      public static final int MAX_SIZE
      See Also:
    • content

      protected final byte[] content
  • Constructor Details

    • AbstractArtifact

      protected AbstractArtifact(rice.p2p.commonapi.Id id, byte[] content)
  • Method Details