- java.lang.Object
-
- org.eclipse.jgit.transport.ReceivedPackStatistics
-
public class ReceivedPackStatistics extends Object
Statistics aboutPackParser.- Since:
- 4.6
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classReceivedPackStatistics.BuilderA builder forReceivedPackStatistics.
-
Constructor Summary
Constructors Constructor Description ReceivedPackStatistics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetNumBytesDuplicated()Get number of bytes of objects already in the local databaselonggetNumBytesRead()Get number of bytes read from the input streamlonggetNumDeltaBlob()Get number of delta blob objects in the packlonggetNumDeltaCommit()Get number of delta commit objects in the packlonggetNumDeltaTag()Get number of delta tag objects in the packlonggetNumDeltaTree()Get number of delta tree objects in the packlonggetNumObjectsDuplicated()Get number of objects already in the local databaselonggetNumOfsDelta()Get number of offset delta objects in the packlonggetNumRefDelta()Get number of ref delta objects in the packlonggetNumWholeBlob()Get number of whole blob objects in the packlonggetNumWholeCommit()Get number of whole commit objects in the packlonggetNumWholeTag()Get number of whole tag objects in the packlonggetNumWholeTree()Get number of whole tree objects in the pack
-
-
-
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
-
-