commit | c7d33bf3c82fb269d3ae239b0573abfb76133654 | [log] [tgz] |
---|---|---|
author | zhangkun <zhangkun@google.com> | Mon Aug 04 16:25:02 2014 -0700 |
committer | Eric Anderson <ejona@google.com> | Thu Jan 08 14:42:34 2015 -0800 |
tree | f2496d0cbc3e9d6b718e7adf4d9e56c7e49ce911 | |
parent | 621706aa033b7707602aef44a2e053649dc208b0 [diff] |
Define threading expectation for Stream ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=72590025
diff --git a/core/src/main/java/com/google/net/stubby/newtransport/Stream.java b/core/src/main/java/com/google/net/stubby/newtransport/Stream.java index f28b605..5ed9770 100644 --- a/core/src/main/java/com/google/net/stubby/newtransport/Stream.java +++ b/core/src/main/java/com/google/net/stubby/newtransport/Stream.java
@@ -6,6 +6,8 @@ /** * A single stream of communication between two end-points within a transport. + * + * <p>An implementation doesn't need to be thread-safe. */ public interface Stream {