PackStatistics
instead.@Deprecated
public static class PackWriter.Statistics
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
PackWriter.Statistics.ObjectType
Deprecated.
Statistics about a single class of object.
|
Modifier and Type | Field and Description |
---|---|
private PackStatistics |
statistics
Deprecated.
|
Constructor and Description |
---|
Statistics(PackStatistics stats)
Deprecated.
Wraps a
PackStatistics object to maintain backwards
compatibility with existing API. |
Modifier and Type | Method and Description |
---|---|
PackWriter.Statistics.ObjectType |
byObjectType(int typeCode)
Deprecated.
|
long |
getBitmapIndexMisses()
Deprecated.
|
int |
getDeltaSearchNonEdgeObjects()
Deprecated.
|
int |
getDeltasFound()
Deprecated.
|
int |
getDepth()
Deprecated.
|
java.util.Set<ObjectId> |
getInterestingObjects()
Deprecated.
|
java.lang.String |
getMessage()
Deprecated.
|
long |
getReusedDeltas()
Deprecated.
|
long |
getReusedObjects()
Deprecated.
|
java.util.Collection<CachedPack> |
getReusedPacks()
Deprecated.
|
long |
getThinPackBytes()
Deprecated.
|
long |
getTimeCompressing()
Deprecated.
|
long |
getTimeCounting()
Deprecated.
|
long |
getTimeSearchingForReuse()
Deprecated.
|
long |
getTimeSearchingForSizes()
Deprecated.
|
long |
getTimeTotal()
Deprecated.
|
long |
getTimeWriting()
Deprecated.
|
long |
getTotalBytes()
Deprecated.
|
long |
getTotalDeltas()
Deprecated.
|
long |
getTotalObjects()
Deprecated.
|
double |
getTransferRate()
Deprecated.
|
java.util.Set<ObjectId> |
getUninterestingObjects()
Deprecated.
|
boolean |
isShallow()
Deprecated.
|
private PackStatistics statistics
public Statistics(PackStatistics stats)
PackStatistics
object to maintain backwards
compatibility with existing API.stats
- the wrapped PackStatitics objectpublic java.util.Set<ObjectId> getInterestingObjects()
public java.util.Set<ObjectId> getUninterestingObjects()
public java.util.Collection<CachedPack> getReusedPacks()
public int getDeltaSearchNonEdgeObjects()
public int getDeltasFound()
getDeltaSearchNonEdgeObjects()
.public long getTotalObjects()
getTotalDeltas()
.public long getBitmapIndexMisses()
public long getTotalDeltas()
public long getReusedObjects()
getReusedDeltas()
.public long getReusedDeltas()
public long getTotalBytes()
public long getThinPackBytes()
public PackWriter.Statistics.ObjectType byObjectType(int typeCode)
typeCode
- object type code, e.g. OBJ_COMMIT or OBJ_TREE.public boolean isShallow()
public int getDepth()
public long getTimeCounting()
public long getTimeSearchingForReuse()
public long getTimeSearchingForSizes()
public long getTimeCompressing()
public long getTimeWriting()
getTotalBytes()
by this
value.public long getTimeTotal()
public double getTransferRate()
getTotalBytes() / (getTimeWriting() / 1000.0)
.public java.lang.String getMessage()