From 6f8b7ce7c8058e88280394cdf3938d1dd6511b8f Mon Sep 17 00:00:00 2001 From: Eric Fellheimer Date: Fri, 29 Jan 2016 00:15:44 +0000 Subject: Parallelize Package retrieval during Sky-query operation. To maintain type-safety, we now must pass in the exception type of the callback. -- MOS_MIGRATED_REVID=113313312 --- src/main/java/com/google/devtools/build/skyframe/WalkableGraph.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main/java/com/google/devtools/build/skyframe/WalkableGraph.java') diff --git a/src/main/java/com/google/devtools/build/skyframe/WalkableGraph.java b/src/main/java/com/google/devtools/build/skyframe/WalkableGraph.java index 75c347f8fe..fd43a07555 100644 --- a/src/main/java/com/google/devtools/build/skyframe/WalkableGraph.java +++ b/src/main/java/com/google/devtools/build/skyframe/WalkableGraph.java @@ -13,6 +13,7 @@ // limitations under the License. package com.google.devtools.build.skyframe; +import com.google.devtools.build.lib.concurrent.ThreadSafety.ThreadSafe; import com.google.devtools.build.lib.events.EventHandler; import java.util.Collection; @@ -24,6 +25,7 @@ import javax.annotation.Nullable; * Read-only graph that exposes the dependents, dependencies (reverse dependents), and value and * exception (if any) of a given node. */ +@ThreadSafe public interface WalkableGraph { /** -- cgit v1.2.3