You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by pt...@apache.org on 2018/10/14 19:59:28 UTC

ignite git commit: TODOs

Repository: ignite
Updated Branches:
  refs/heads/ignite-9876 [created] 5862fd3e4


TODOs


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/5862fd3e
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/5862fd3e
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/5862fd3e

Branch: refs/heads/ignite-9876
Commit: 5862fd3e47e4f846951dab9e5f1e3ab8cba42117
Parents: 6041cda
Author: Pavel Tupitsyn <pt...@apache.org>
Authored: Sun Oct 14 22:59:21 2018 +0300
Committer: Pavel Tupitsyn <pt...@apache.org>
Committed: Sun Oct 14 22:59:21 2018 +0300

----------------------------------------------------------------------
 .../dotnet/Apache.Ignite.Core/Impl/Client/Cache/CacheClient.cs   | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/5862fd3e/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Client/Cache/CacheClient.cs
----------------------------------------------------------------------
diff --git a/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Client/Cache/CacheClient.cs b/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Client/Cache/CacheClient.cs
index 8cc2741..ac685fd 100644
--- a/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Client/Cache/CacheClient.cs
+++ b/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Client/Cache/CacheClient.cs
@@ -96,6 +96,8 @@ namespace Apache.Ignite.Core.Impl.Client.Cache
         {
             IgniteArgumentCheck.NotNull(key, "key");
 
+            // TODO: What is a good way to abstract Affinity-based operations?
+            // DoOutInOpAffinity?
             return DoOutInOp(ClientOp.CacheGet, w => w.WriteObject(key), UnmarshalNotNull<TV>);
         }
 
@@ -700,7 +702,7 @@ namespace Apache.Ignite.Core.Impl.Client.Cache
             QueryBase.WriteQueryArgs(writer, qry.Arguments);
 
             // .NET client does not discern between different statements for now.
-            // We cound have ExecuteNonQuery method, which uses StatementType.Update, for example.
+            // We could have ExecuteNonQuery method, which uses StatementType.Update, for example.
             writer.WriteByte((byte)StatementType.Any);
 
             writer.WriteBoolean(qry.EnableDistributedJoins);