aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit/src/org/eclipse/jgit/lib/ConfigConstants.java
diff options
context:
space:
mode:
authorPhilipp Marx <smigfu@googlemail.com>2016-10-10 17:27:28 +0200
committerDavid Pursehouse <david.pursehouse@gmail.com>2016-10-19 21:45:30 +0900
commitccc899773e903cae48816edc9ad3c564c161111d (patch)
tree07f7b9804dd5257b70880c7e323b5afa36a2fd32 /org.eclipse.jgit/src/org/eclipse/jgit/lib/ConfigConstants.java
parenta5dde985a0e66dfde57258bf2f4734c75194ae83 (diff)
downloadjgit-ccc899773e903cae48816edc9ad3c564c161111d.tar.gz
jgit-ccc899773e903cae48816edc9ad3c564c161111d.zip
Add "concurrencyLevel" option to DfsBlockCache
Allow for higher concurrency on DfsBlockCache by adding a configuration for number of estimated concurrent requests. Change-Id: Ia65e58ecb2c459b6d9c9697a2f715d933270f7e6 Signed-off-by: Philipp Marx <smigfu@googlemail.com>
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/lib/ConfigConstants.java')
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/lib/ConfigConstants.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/lib/ConfigConstants.java b/org.eclipse.jgit/src/org/eclipse/jgit/lib/ConfigConstants.java
index 9e3e0b78fd..9a1f565d71 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/lib/ConfigConstants.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/lib/ConfigConstants.java
@@ -145,6 +145,13 @@ public class ConfigConstants {
/** The "blockSize" key */
public static final String CONFIG_KEY_BLOCK_SIZE = "blockSize";
+ /**
+ * The "concurrencyLevel" key
+ *
+ * @since 4.6
+ */
+ public static final String CONFIG_KEY_CONCURRENCY_LEVEL = "concurrencyLevel";
+
/** The "deltaBaseCacheLimit" key */
public static final String CONFIG_KEY_DELTA_BASE_CACHE_LIMIT = "deltaBaseCacheLimit";