Class PackWriter.State
java.lang.Object
org.eclipse.jgit.internal.storage.pack.PackWriter.State
- Enclosing class:
PackWriter
Summary of the current state of a PackWriter.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
phase
-
bytesUsed
private final long bytesUsed
-
-
Constructor Details
-
State
State(PackWriter.PackingPhase phase, long bytesUsed)
-
-
Method Details
-
getConfig
- Returns:
- the PackConfig used to build the writer.
-
getPhase
- Returns:
- the current phase of the writer.
-
estimateBytesUsed
public long estimateBytesUsed()- Returns:
- an estimate of the total memory used by the writer.
-
toString
-