Package org.eclipse.jgit.transport
Class ReceivedPackStatistics
- 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 class
ReceivedPackStatistics.Builder
A builder forReceivedPackStatistics
.
-
Constructor Summary
Constructors Constructor Description ReceivedPackStatistics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getNumBytesDuplicated()
Get number of bytes of objects already in the local databaselong
getNumBytesRead()
Get number of bytes read from the input streamlong
getNumDeltaBlob()
Get number of delta blob objects in the packlong
getNumDeltaCommit()
Get number of delta commit objects in the packlong
getNumDeltaTag()
Get number of delta tag objects in the packlong
getNumDeltaTree()
Get number of delta tree objects in the packlong
getNumObjectsDuplicated()
Get number of objects already in the local databaselong
getNumOfsDelta()
Get number of offset delta objects in the packlong
getNumRefDelta()
Get number of ref delta objects in the packlong
getNumWholeBlob()
Get number of whole blob objects in the packlong
getNumWholeCommit()
Get number of whole commit objects in the packlong
getNumWholeTag()
Get number of whole tag objects in the packlong
getNumWholeTree()
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
-
-