Class ReceivedPackStatistics


  • public class ReceivedPackStatistics
    extends Object
    Statistics about PackParser.
    Since:
    4.6
    • Constructor Detail

      • ReceivedPackStatistics

        public ReceivedPackStatistics()
    • Method Detail

      • getNumBytesRead

        public long getNumBytesRead()
        Get number of bytes read from the input stream
        Returns:
        number of bytes read from the input stream
      • getNumBytesDuplicated

        public long getNumBytesDuplicated()
        Get number of bytes of objects already in the local database
        Returns:
        number of bytes of objects appeared in both the pack sent by the client and the local database
        Since:
        5.10
      • getNumWholeCommit

        public long getNumWholeCommit()
        Get number of whole commit objects in the pack
        Returns:
        number of whole commit objects in the pack
      • getNumWholeTree

        public long getNumWholeTree()
        Get number of whole tree objects in the pack
        Returns:
        number of whole tree objects in the pack
      • getNumWholeBlob

        public long getNumWholeBlob()
        Get number of whole blob objects in the pack
        Returns:
        number of whole blob objects in the pack
      • getNumWholeTag

        public long getNumWholeTag()
        Get number of whole tag objects in the pack
        Returns:
        number of whole tag objects in the pack
      • getNumOfsDelta

        public long getNumOfsDelta()
        Get number of offset delta objects in the pack
        Returns:
        number of offset delta objects in the pack
      • getNumRefDelta

        public long getNumRefDelta()
        Get number of ref delta objects in the pack
        Returns:
        number of ref delta objects in the pack
      • getNumObjectsDuplicated

        public long getNumObjectsDuplicated()
        Get number of objects already in the local database
        Returns:
        number of objects appeared in both the pack sent by the client and the local database
        Since:
        5.10
      • getNumDeltaCommit

        public long getNumDeltaCommit()
        Get number of delta commit objects in the pack
        Returns:
        number of delta commit objects in the pack
      • getNumDeltaTree

        public long getNumDeltaTree()
        Get number of delta tree objects in the pack
        Returns:
        number of delta tree objects in the pack
      • getNumDeltaBlob

        public long getNumDeltaBlob()
        Get number of delta blob objects in the pack
        Returns:
        number of delta blob objects in the pack
      • getNumDeltaTag

        public long getNumDeltaTag()
        Get number of delta tag objects in the pack
        Returns:
        number of delta tag objects in the pack