Class ThreadSafeDeltaCache
java.lang.Object
org.eclipse.jgit.internal.storage.pack.DeltaCache
org.eclipse.jgit.internal.storage.pack.ThreadSafeDeltaCache
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jgit.internal.storage.pack.DeltaCache
DeltaCache.Ref
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) DeltaCache.Ref
cache
(byte[] data, int actLen, int reservedSize) (package private) boolean
canCache
(int length, ObjectToPack src, ObjectToPack res) (package private) void
credit
(int reservedSize) Methods inherited from class org.eclipse.jgit.internal.storage.pack.DeltaCache
resize
-
Field Details
-
lock
-
-
Constructor Details
-
ThreadSafeDeltaCache
ThreadSafeDeltaCache(PackConfig pc)
-
-
Method Details
-
canCache
- Overrides:
canCache
in classDeltaCache
-
credit
void credit(int reservedSize) - Overrides:
credit
in classDeltaCache
-
cache
- Overrides:
cache
in classDeltaCache
-