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.Refcache(byte[] data, int actLen, int reservedSize) (package private) booleancanCache(int length, ObjectToPack src, ObjectToPack res) (package private) voidcredit(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:
canCachein classDeltaCache
-
credit
void credit(int reservedSize) - Overrides:
creditin classDeltaCache
-
cache
- Overrides:
cachein classDeltaCache
-