diff options
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/concurrent/BlazeInterners.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/concurrent/BlazeInterners.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/concurrent/BlazeInterners.java b/src/main/java/com/google/devtools/build/lib/concurrent/BlazeInterners.java index b43b09bebd..7c9d6dc794 100644 --- a/src/main/java/com/google/devtools/build/lib/concurrent/BlazeInterners.java +++ b/src/main/java/com/google/devtools/build/lib/concurrent/BlazeInterners.java @@ -27,6 +27,10 @@ public class BlazeInterners { CONCURRENCY_LEVEL = (val == null) ? DEFAULT_CONCURRENCY_LEVEL : Integer.parseInt(val); } + public static int concurrencyLevel() { + return CONCURRENCY_LEVEL; + } + private static InternerBuilder setConcurrencyLevel(InternerBuilder builder) { return builder.concurrencyLevel(CONCURRENCY_LEVEL); } |