Class PackWriter.State
- java.lang.Object
-
- org.eclipse.jgit.internal.storage.pack.PackWriter.State
-
- Enclosing class:
- PackWriter
public class PackWriter.State extends java.lang.ObjectSummary of the current state of a PackWriter.
-
-
Field Summary
Fields Modifier and Type Field Description private longbytesUsedprivate PackWriter.PackingPhasephase
-
Constructor Summary
Constructors Constructor Description State(PackWriter.PackingPhase phase, long bytesUsed)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longestimateBytesUsed()PackConfiggetConfig()PackWriter.PackingPhasegetPhase()java.lang.StringtoString()
-
-
-
Field Detail
-
phase
private final PackWriter.PackingPhase phase
-
bytesUsed
private final long bytesUsed
-
-
Constructor Detail
-
State
State(PackWriter.PackingPhase phase, long bytesUsed)
-
-
Method Detail
-
getConfig
public PackConfig getConfig()
- Returns:
- the PackConfig used to build the writer.
-
getPhase
public PackWriter.PackingPhase getPhase()
- Returns:
- the current phase of the writer.
-
estimateBytesUsed
public long estimateBytesUsed()
- Returns:
- an estimate of the total memory used by the writer.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-