Class NamedBlobRecord


  • public class NamedBlobRecord
    extends java.lang.Object
    Represents a metadata record in a NamedBlobDb implementation.
    • Constructor Summary

      Constructors 
      Constructor Description
      NamedBlobRecord​(java.lang.String accountName, java.lang.String containerName, java.lang.String blobName, java.lang.String blobId, long expirationTimeMs)  
    • Constructor Detail

      • NamedBlobRecord

        public NamedBlobRecord​(java.lang.String accountName,
                               java.lang.String containerName,
                               java.lang.String blobName,
                               java.lang.String blobId,
                               long expirationTimeMs)
        Parameters:
        accountName - the account name.
        containerName - the container name.
        blobName - the blob name within the container.
        blobId - the blob ID for the blob content in ambry storage.
        expirationTimeMs - the expiration time in milliseconds since epoch, or -1 if the blob should be permanent.
    • Method Detail

      • getAccountName

        public java.lang.String getAccountName()
        Returns:
        the account name.
      • getContainerName

        public java.lang.String getContainerName()
        Returns:
        the container name.
      • getBlobName

        public java.lang.String getBlobName()
        Returns:
        the blob name within the container.
      • getBlobId

        public java.lang.String getBlobId()
        Returns:
        the blob ID for the blob content in ambry storage.
      • getExpirationTimeMs

        public long getExpirationTimeMs()
        Returns:
        the expiration time in milliseconds since epoch, or -1 if the blob should be permanent.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object