Class GC.RepoStatistics
java.lang.Object
org.eclipse.jgit.internal.storage.file.GC.RepoStatistics
- Enclosing class:
- GC
A class holding statistical data for a FileRepository regarding how many
objects are stored as loose or packed objects
-
Field Summary
FieldsModifier and TypeFieldDescriptionlong
The number of bitmaps in the bitmap indices.long
The number of objects stored as loose objects.long
The number of loose refs.long
The number of objects stored in pack files.long
The number of refs stored in pack files.long
The number of pack fileslong
The sum of the sizes of all files used to persist loose objects.long
The sum of the sizes of all pack files. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
numberOfPackedObjects
public long numberOfPackedObjectsThe number of objects stored in pack files. If the same object is stored in multiple pack files then it is counted as often as it occurs in pack files. -
numberOfPackFiles
public long numberOfPackFilesThe number of pack files -
numberOfLooseObjects
public long numberOfLooseObjectsThe number of objects stored as loose objects. -
sizeOfLooseObjects
public long sizeOfLooseObjectsThe sum of the sizes of all files used to persist loose objects. -
sizeOfPackedObjects
public long sizeOfPackedObjectsThe sum of the sizes of all pack files. -
numberOfLooseRefs
public long numberOfLooseRefsThe number of loose refs. -
numberOfPackedRefs
public long numberOfPackedRefsThe number of refs stored in pack files. -
numberOfBitmaps
public long numberOfBitmapsThe number of bitmaps in the bitmap indices.
-
-
Constructor Details
-
RepoStatistics
public RepoStatistics()
-
-
Method Details