diff --git a/src/OrleansRuntime/Catalog/ActivationDirectory.cs b/src/OrleansRuntime/Catalog/ActivationDirectory.cs index 4bba29e302..290effdd76 100644 --- a/src/OrleansRuntime/Catalog/ActivationDirectory.cs +++ b/src/OrleansRuntime/Catalog/ActivationDirectory.cs @@ -163,7 +163,9 @@ public void RemoveTarget(ActivationData target) } } - // Returns null if no activations exist for this grain ID, rather than an empty list + /// + /// Returns null if no activations exist for this grain ID, rather than an empty list + /// public List FindTargets(GrainId key) { List tmp; diff --git a/src/OrleansRuntime/ConsistentRing/ConsistentRingProvider.cs b/src/OrleansRuntime/ConsistentRing/ConsistentRingProvider.cs index 26689f880a..0ca3d2f1d5 100644 --- a/src/OrleansRuntime/ConsistentRing/ConsistentRingProvider.cs +++ b/src/OrleansRuntime/ConsistentRing/ConsistentRingProvider.cs @@ -81,11 +81,17 @@ public IRingRange GetMyRange() return MyRange; // its immutable, so no need to clone } + /// + /// Returns null if silo is not in the list of members + /// public List GetMySucessors(int n = 1) { return FindSuccessors(MyAddress, n); } + /// + /// Returns null if silo is not in the list of members + /// public List GetMyPredecessors(int n = 1) { return FindPredecessors(MyAddress, n); @@ -205,6 +211,9 @@ internal void RemoveServer(SiloAddress silo) } } + /// + /// Returns null if silo is not in the list of members + /// internal List FindPredecessors(SiloAddress silo, int count) { lock (membershipRingList) @@ -227,6 +236,9 @@ internal List FindPredecessors(SiloAddress silo, int count) } } + /// + /// Returns null if silo is not in the list of members + /// internal List FindSuccessors(SiloAddress silo, int count) { lock (membershipRingList)