Package org.eclipse.jgit.transport
Class ReceivedPackStatistics
java.lang.Object
org.eclipse.jgit.transport.ReceivedPackStatistics
Statistics about
PackParser
.- Since:
- 4.6
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate long
private long
private long
private long
private long
private long
private long
private long
private long
private long
private long
private long
private long
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
Get number of bytes of objects already in the local databaselong
Get number of bytes read from the input streamlong
Get number of delta blob objects in the packlong
Get number of delta commit objects in the packlong
Get number of delta tag objects in the packlong
Get number of delta tree objects in the packlong
Get number of objects already in the local databaselong
Get number of offset delta objects in the packlong
Get number of ref delta objects in the packlong
Get number of whole blob objects in the packlong
Get number of whole commit objects in the packlong
Get number of whole tag objects in the packlong
Get number of whole tree objects in the pack
-
Field Details
-
numBytesRead
private long numBytesRead -
numBytesDuplicated
private long numBytesDuplicated -
numWholeCommit
private long numWholeCommit -
numWholeTree
private long numWholeTree -
numWholeBlob
private long numWholeBlob -
numWholeTag
private long numWholeTag -
numOfsDelta
private long numOfsDelta -
numRefDelta
private long numRefDelta -
numObjectsDuplicated
private long numObjectsDuplicated -
numDeltaCommit
private long numDeltaCommit -
numDeltaTree
private long numDeltaTree -
numDeltaBlob
private long numDeltaBlob -
numDeltaTag
private long numDeltaTag
-
-
Constructor Details
-
ReceivedPackStatistics
public ReceivedPackStatistics()
-
-
Method Details
-
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
-