Top Fields Constructors Methods
org.eclipse.jgit.internal.storage.pack

pack-priv Class ThreadSafeDeltaCache

extends DeltaCache
Class Inheritance
Imports
java.util.concurrent.locks.ReentrantLock, org.eclipse.jgit.storage.pack.PackConfig

Field Summary

Modifier and TypeField and Description
private final ReentrantLock

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv DeltaCache.Ref
cache(byte[] data, int actLen, int reservedSize)

Overrides org.eclipse.jgit.internal.storage.pack.DeltaCache.cache.

pack-priv boolean
pack-priv void
Inherited from org.eclipse.jgit.internal.storage.pack.DeltaCache:
resize

Field Detail

lockback to summary
private final ReentrantLock lock

Constructor Detail

ThreadSafeDeltaCacheback to summary
pack-priv ThreadSafeDeltaCache(PackConfig pc)

Method Detail

cacheback to summary
pack-priv DeltaCache.Ref cache(byte[] data, int actLen, int reservedSize)

Overrides org.eclipse.jgit.internal.storage.pack.DeltaCache.cache.

Annotations
@Override
canCacheback to summary
pack-priv boolean canCache(int length, ObjectToPack src, ObjectToPack res)

Overrides org.eclipse.jgit.internal.storage.pack.DeltaCache.canCache.

Annotations
@Override
creditback to summary
pack-priv void credit(int reservedSize)

Overrides org.eclipse.jgit.internal.storage.pack.DeltaCache.credit.

Annotations
@Override