ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject incubator-ignite git commit: ignite-1229: made link to a socket volatile
Date Fri, 14 Aug 2015 07:51:56 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-1229 23dc6558e -> 7ea23f395


ignite-1229: made link to a socket volatile


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

Branch: refs/heads/ignite-1229
Commit: 7ea23f395e7c72e88cceb6d68d5dfd23e11156f7
Parents: 23dc655
Author: Denis Magda <dmagda@gridgain.com>
Authored: Fri Aug 14 10:51:25 2015 +0300
Committer: Denis Magda <dmagda@gridgain.com>
Committed: Fri Aug 14 10:51:25 2015 +0300

----------------------------------------------------------------------
 .../main/java/org/apache/ignite/spi/discovery/tcp/ServerImpl.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/7ea23f39/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ServerImpl.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ServerImpl.java
b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ServerImpl.java
index 1f0266e..0d30886 100644
--- a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ServerImpl.java
+++ b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ServerImpl.java
@@ -5171,7 +5171,7 @@ class ServerImpl extends TcpDiscoveryImpl {
      */
     private static class GridPingFutureAdapter<R> extends GridFutureAdapter<R>
{
         /** Socket. */
-        private Socket sock;
+        private volatile Socket sock;
 
         /**
          * Returns socket associated with this ping future.


Mime
View raw message