java.lang.Object
org.eclipse.jgit.transport.ReceivedPackStatistics
Statistics about
PackParser.- Since:
- 4.6
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongGet number of bytes of objects already in the local databaselongGet number of bytes read from the input streamlongGet number of delta blob objects in the packlongGet number of delta commit objects in the packlongGet number of delta tag objects in the packlongGet number of delta tree objects in the packlongGet number of objects already in the local databaselongGet number of offset delta objects in the packlongGet number of ref delta objects in the packlongGet number of whole blob objects in the packlongGet number of whole commit objects in the packlongGet number of whole tag objects in the packlongGet number of whole tree objects in the packlongGet time in milliseconds spent checking the connectivity of the received packlongGet time in milliseconds spent in the negotiation phaselongGet time in milliseconds spent in pre-receive hookslongGet time in milliseconds spent processing commands (validation and ref updates)longGet time in milliseconds spent receiving the pack
-
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
-
getTimeNegotiating
public long getTimeNegotiating()Get time in milliseconds spent in the negotiation phase- Returns:
- time in milliseconds spent in the negotiation phase
- Since:
- 7.7
-
getTimeReceiving
public long getTimeReceiving()Get time in milliseconds spent receiving the pack- Returns:
- time in milliseconds spent receiving the pack
- Since:
- 7.7
-
getTimeCheckingConnectivity
public long getTimeCheckingConnectivity()Get time in milliseconds spent checking the connectivity of the received pack- Returns:
- time in milliseconds spent checking the connectivity of the received pack
- Since:
- 7.7
-
getTimePreReceiveHooks
public long getTimePreReceiveHooks()Get time in milliseconds spent in pre-receive hooks- Returns:
- time in milliseconds spent in pre-receive hooks
- Since:
- 7.7
-
getTimeProcessingCommands
public long getTimeProcessingCommands()Get time in milliseconds spent processing commands (validation and ref updates)- Returns:
- time in milliseconds spent processing commands
- Since:
- 7.7
-