Return-Path: X-Original-To: apmail-ignite-commits-archive@minotaur.apache.org Delivered-To: apmail-ignite-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9DA5E17619 for ; Mon, 29 Jun 2015 19:47:29 +0000 (UTC) Received: (qmail 29162 invoked by uid 500); 29 Jun 2015 19:47:29 -0000 Delivered-To: apmail-ignite-commits-archive@ignite.apache.org Received: (qmail 29132 invoked by uid 500); 29 Jun 2015 19:47:29 -0000 Mailing-List: contact commits-help@ignite.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.incubator.apache.org Delivered-To: mailing list commits@ignite.incubator.apache.org Received: (qmail 29123 invoked by uid 99); 29 Jun 2015 19:47:29 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jun 2015 19:47:29 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id E71A918275B for ; Mon, 29 Jun 2015 19:47:28 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.791 X-Spam-Level: * X-Spam-Status: No, score=1.791 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 2Rc77GmEsHWo for ; Mon, 29 Jun 2015 19:47:14 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with SMTP id E704B29538 for ; Mon, 29 Jun 2015 19:46:47 +0000 (UTC) Received: (qmail 20344 invoked by uid 99); 29 Jun 2015 19:46:47 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jun 2015 19:46:47 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 55F3AE35E2; Mon, 29 Jun 2015 19:46:47 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sboikov@apache.org To: commits@ignite.incubator.apache.org Date: Mon, 29 Jun 2015 19:47:35 -0000 Message-Id: <093f91a2f92f49bba01da56baa83ff49@git.apache.org> In-Reply-To: <283ea914128f4f1bacc3f813877bff50@git.apache.org> References: <283ea914128f4f1bacc3f813877bff50@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [50/50] incubator-ignite git commit: Merge branch 'ignite-sprint-7' into ignite-788-dev-review Merge branch 'ignite-sprint-7' into ignite-788-dev-review Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/bd46365d Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/bd46365d Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/bd46365d Branch: refs/heads/ignite-788-dev-review Commit: bd46365d02a92cdcae56dbd060a218db020bba26 Parents: d5f93e2 68c21ac Author: ashutak Authored: Mon Jun 29 22:46:46 2015 +0300 Committer: ashutak Committed: Mon Jun 29 22:46:46 2015 +0300 ---------------------------------------------------------------------- .gitignore | 3 +- DEVNOTES.txt | 63 +- LICENSE | 238 + LICENSE.txt | 238 - NOTICE | 12 + NOTICE.txt | 12 - RELEASE_NOTES.txt | 12 + assembly/dependencies-fabric.xml | 1 + assembly/dependencies-visor-console.xml | 3 + assembly/release-base.xml | 8 +- bin/ignite-schema-import.bat | 2 +- bin/ignite-schema-import.sh | 2 +- bin/ignite.bat | 2 +- bin/ignite.sh | 2 +- bin/ignitevisorcmd.bat | 2 +- bin/ignitevisorcmd.sh | 2 +- bin/include/build-classpath.bat | 46 + bin/include/build-classpath.sh | 71 + bin/include/functions.sh | 2 +- bin/include/target-classpath.bat | 46 - bin/include/target-classpath.sh | 71 - dev-tools/build.gradle | 35 +- .../gradle/wrapper/gradle-wrapper.properties | 20 + dev-tools/gradlew | 233 + dev-tools/slurp.sh | 76 + dev-tools/src/main/groovy/jiraslurp.groovy | 592 +- examples/config/example-cache.xml | 2 + examples/pom.xml | 36 +- .../hibernate/CacheHibernatePersonStore.java | 202 +- .../hibernate/CacheHibernateStoreExample.java | 17 + .../store/jdbc/CacheJdbcPersonStore.java | 180 +- .../store/jdbc/CacheJdbcStoreExample.java | 13 + .../store/spring/CacheSpringPersonStore.java | 128 + .../store/spring/CacheSpringStoreExample.java | 143 + .../datagrid/store/spring/package-info.java | 22 + .../client/memcache/MemcacheRestExample.java | 32 +- .../streaming/StreamTransformerExample.java | 4 +- .../streaming/StreamVisitorExample.java | 4 +- .../ignite/examples/streaming/package-info.java | 1 - .../streaming/wordcount/CacheConfig.java | 2 +- .../streaming/wordcount/QueryWords.java | 12 +- .../streaming/wordcount/StreamWords.java | 12 +- .../streaming/wordcount/package-info.java | 1 - .../socket/WordsSocketStreamerClient.java | 82 + .../socket/WordsSocketStreamerServer.java | 124 + .../wordcount/socket/package-info.java | 21 + idea/ignite_codeStyle.xml | 147 + modules/aop/pom.xml | 2 +- modules/aws/pom.xml | 2 +- .../s3/S3CheckpointManagerSelfTest.java | 2 +- .../checkpoint/s3/S3CheckpointSpiSelfTest.java | 4 +- .../s3/S3CheckpointSpiStartStopSelfTest.java | 2 +- .../s3/S3SessionCheckpointSelfTest.java | 2 +- .../s3/TcpDiscoveryS3IpFinderSelfTest.java | 2 +- modules/clients/pom.xml | 2 +- .../ClientAbstractConnectivitySelfTest.java | 18 +- .../client/router/TcpSslRouterSelfTest.java | 5 + .../client/suite/IgniteClientTestSuite.java | 3 +- modules/cloud/pom.xml | 2 +- .../cloud/TcpDiscoveryCloudIpFinder.java | 25 +- .../TcpDiscoveryCloudIpFinderSelfTest.java | 3 +- modules/codegen/pom.xml | 2 +- modules/core/pom.xml | 3 +- modules/core/src/main/java/META-INF/LICENSE | 238 + modules/core/src/main/java/META-INF/NOTICE | 12 + .../src/main/java/org/apache/ignite/Ignite.java | 8 +- .../java/org/apache/ignite/IgniteCache.java | 41 +- .../java/org/apache/ignite/IgniteServices.java | 5 +- .../apache/ignite/IgniteSystemProperties.java | 6 + .../main/java/org/apache/ignite/Ignition.java | 18 +- .../org/apache/ignite/cache/CacheMetrics.java | 187 +- .../ignite/cache/eviction/EvictableEntry.java | 7 + .../ignite/cache/eviction/EvictionPolicy.java | 2 + .../cache/eviction/fifo/FifoEvictionPolicy.java | 117 +- .../eviction/fifo/FifoEvictionPolicyMBean.java | 22 + .../cache/eviction/lru/LruEvictionPolicy.java | 135 +- .../eviction/lru/LruEvictionPolicyMBean.java | 38 + .../eviction/random/RandomEvictionPolicy.java | 10 +- .../eviction/sorted/SortedEvictionPolicy.java | 141 +- .../sorted/SortedEvictionPolicyMBean.java | 22 + .../apache/ignite/cache/query/QueryMetrics.java | 6 +- .../apache/ignite/cache/query/ScanQuery.java | 48 +- .../apache/ignite/cache/store/CacheStore.java | 2 + .../ignite/cache/store/CacheStoreSession.java | 22 + .../cache/store/CacheStoreSessionListener.java | 133 + .../cache/store/jdbc/CacheJdbcBlobStore.java | 22 +- .../store/jdbc/CacheJdbcBlobStoreFactory.java | 290 + .../cache/store/jdbc/CacheJdbcPojoStore.java | 6 +- .../store/jdbc/CacheJdbcPojoStoreFactory.java | 148 + .../jdbc/CacheJdbcStoreSessionListener.java | 141 + .../org/apache/ignite/cluster/ClusterGroup.java | 18 +- .../org/apache/ignite/cluster/ClusterNode.java | 26 +- .../ignite/compute/ComputeTaskSplitAdapter.java | 2 +- .../configuration/CacheConfiguration.java | 70 +- .../configuration/IgniteConfiguration.java | 48 +- .../configuration/IgniteReflectionFactory.java | 81 +- .../org/apache/ignite/igfs/IgfsUserContext.java | 119 + .../igfs/secondary/IgfsSecondaryFileSystem.java | 7 + .../ignite/internal/ClusterMetricsSnapshot.java | 14 + .../internal/GridEventConsumeHandler.java | 126 +- .../ignite/internal/GridKernalContext.java | 5 + .../ignite/internal/GridKernalContextImpl.java | 13 +- .../ignite/internal/GridPluginContext.java | 6 + .../apache/ignite/internal/IgniteKernal.java | 99 +- .../ignite/internal/IgniteNodeAttributes.java | 5 +- .../org/apache/ignite/internal/IgnitionEx.java | 166 +- .../internal/MarshallerContextAdapter.java | 82 +- .../ignite/internal/MarshallerContextImpl.java | 38 +- .../client/GridClientConfiguration.java | 2 +- .../GridClientOptimizedMarshaller.java | 26 + .../impl/GridTcpRouterNioListenerAdapter.java | 2 +- .../internal/cluster/ClusterGroupAdapter.java | 50 +- .../cluster/IgniteClusterAsyncImpl.java | 12 +- .../internal/direct/DirectByteBufferStream.java | 4 +- .../internal/events/DiscoveryCustomEvent.java | 18 +- .../internal/igfs/common/IgfsMarshaller.java | 35 +- .../igfs/common/IgfsPathControlRequest.java | 22 + .../interop/InteropAwareEventFilter.java | 37 + .../internal/interop/InteropBootstrap.java | 35 + .../interop/InteropBootstrapFactory.java | 39 + .../internal/interop/InteropException.java | 71 + .../internal/interop/InteropIgnition.java | 217 + .../interop/InteropLocalEventListener.java | 28 + .../interop/InteropNoCallbackException.java | 50 + .../internal/interop/InteropProcessor.java | 44 + .../internal/managers/GridManagerAdapter.java | 76 +- .../checkpoint/GridCheckpointManager.java | 52 +- .../managers/communication/GridIoManager.java | 129 +- .../GridLifecycleAwareMessageFilter.java | 5 +- .../managers/discovery/CustomEventListener.java | 31 + .../discovery/CustomMessageWrapper.java | 63 + .../discovery/DiscoveryCustomMessage.java | 54 + .../discovery/GridDiscoveryManager.java | 319 +- .../eventstorage/GridEventStorageManager.java | 29 +- .../managers/indexing/GridIndexingManager.java | 4 - .../affinity/AffinityTopologyVersion.java | 7 - .../affinity/GridAffinityAssignment.java | 12 + .../affinity/GridAffinityAssignmentCache.java | 40 +- .../affinity/GridAffinityProcessor.java | 23 +- .../cache/CacheEvictableEntryImpl.java | 31 + .../processors/cache/CacheMetricsImpl.java | 367 +- .../cache/CacheMetricsMXBeanImpl.java | 100 + .../processors/cache/CacheMetricsSnapshot.java | 380 +- .../cache/DynamicCacheChangeBatch.java | 29 +- .../cache/DynamicCacheDescriptor.java | 19 + .../processors/cache/GridCacheAdapter.java | 212 +- .../cache/GridCacheAffinityManager.java | 14 + .../cache/GridCacheConcurrentMap.java | 21 +- .../processors/cache/GridCacheContext.java | 31 +- .../cache/GridCacheDeploymentManager.java | 10 +- .../processors/cache/GridCacheEntryEx.java | 6 + .../processors/cache/GridCacheGateway.java | 2 +- .../processors/cache/GridCacheIoManager.java | 78 +- .../processors/cache/GridCacheMapEntry.java | 172 +- .../processors/cache/GridCacheMessage.java | 51 - .../processors/cache/GridCacheMvccManager.java | 36 +- .../GridCachePartitionExchangeManager.java | 178 +- .../processors/cache/GridCachePreloader.java | 6 +- .../cache/GridCachePreloaderAdapter.java | 11 +- .../processors/cache/GridCacheProcessor.java | 236 +- .../processors/cache/GridCacheProxyImpl.java | 26 +- .../cache/GridCacheSharedContext.java | 48 +- .../processors/cache/GridCacheSwapManager.java | 177 +- .../processors/cache/GridCacheTtlManager.java | 9 +- .../processors/cache/GridCacheUtils.java | 295 +- .../processors/cache/IgniteCacheProxy.java | 49 +- .../processors/cache/IgniteInternalCache.java | 43 +- .../processors/cache/KeyCacheObjectImpl.java | 11 +- .../processors/cache/QueryCursorImpl.java | 23 +- .../cache/affinity/GridCacheAffinityImpl.java | 10 +- .../CacheDataStructuresManager.java | 2 +- .../distributed/GridCacheTxRecoveryRequest.java | 26 +- .../GridCacheTxRecoveryResponse.java | 14 +- .../distributed/GridDistributedBaseMessage.java | 77 +- .../GridDistributedCacheAdapter.java | 210 +- .../distributed/GridDistributedCacheEntry.java | 7 - .../distributed/GridDistributedLockRequest.java | 123 +- .../GridDistributedLockResponse.java | 14 +- .../GridDistributedTxFinishRequest.java | 90 +- .../distributed/GridDistributedTxMapping.java | 22 +- .../GridDistributedTxPrepareRequest.java | 128 +- .../GridDistributedTxPrepareResponse.java | 64 +- .../GridDistributedTxRemoteAdapter.java | 30 +- .../GridDistributedUnlockRequest.java | 6 +- .../dht/GridClientPartitionTopology.java | 10 +- .../dht/GridDhtAssignmentFetchFuture.java | 4 +- .../distributed/dht/GridDhtCacheAdapter.java | 49 +- .../distributed/dht/GridDhtCacheEntry.java | 6 +- .../cache/distributed/dht/GridDhtGetFuture.java | 11 +- .../distributed/dht/GridDhtLocalPartition.java | 66 +- .../distributed/dht/GridDhtLockFuture.java | 14 +- .../distributed/dht/GridDhtLockRequest.java | 101 +- .../distributed/dht/GridDhtLockResponse.java | 18 +- .../dht/GridDhtOffHeapCacheEntry.java | 63 + .../dht/GridDhtPartitionTopologyImpl.java | 42 +- .../dht/GridDhtPartitionsReservation.java | 292 + .../dht/GridDhtTransactionalCacheAdapter.java | 239 +- .../distributed/dht/GridDhtTxFinishFuture.java | 3 - .../distributed/dht/GridDhtTxFinishRequest.java | 43 +- .../cache/distributed/dht/GridDhtTxLocal.java | 38 +- .../distributed/dht/GridDhtTxLocalAdapter.java | 103 +- .../cache/distributed/dht/GridDhtTxMapping.java | 2 +- .../distributed/dht/GridDhtTxPrepareFuture.java | 103 +- .../dht/GridDhtTxPrepareRequest.java | 60 +- .../dht/GridDhtTxPrepareResponse.java | 22 +- .../cache/distributed/dht/GridDhtTxRemote.java | 8 +- .../distributed/dht/GridDhtUnlockRequest.java | 6 +- .../distributed/dht/GridNoStorageCacheMap.java | 4 +- .../cache/distributed/dht/GridReservable.java | 35 + .../dht/atomic/GridDhtAtomicCache.java | 51 +- .../atomic/GridDhtAtomicOffHeapCacheEntry.java | 63 + .../dht/atomic/GridDhtAtomicUpdateFuture.java | 10 +- .../dht/atomic/GridNearAtomicUpdateFuture.java | 116 +- .../dht/atomic/GridNearAtomicUpdateRequest.java | 134 +- .../dht/colocated/GridDhtColocatedCache.java | 17 +- .../colocated/GridDhtColocatedLockFuture.java | 210 +- .../GridDhtColocatedOffHeapCacheEntry.java | 63 + .../colocated/GridDhtDetachedCacheEntry.java | 4 +- .../dht/preloader/GridDhtForceKeysFuture.java | 44 +- .../preloader/GridDhtPartitionDemandPool.java | 26 +- .../dht/preloader/GridDhtPartitionMap.java | 28 +- .../preloader/GridDhtPartitionSupplyPool.java | 29 +- .../GridDhtPartitionsExchangeFuture.java | 523 +- .../preloader/GridDhtPartitionsFullMessage.java | 4 +- .../GridDhtPartitionsSingleMessage.java | 33 +- .../dht/preloader/GridDhtPreloader.java | 41 +- .../preloader/GridDhtPreloaderAssignments.java | 3 +- .../distributed/near/GridNearAtomicCache.java | 5 + .../distributed/near/GridNearCacheAdapter.java | 5 +- .../distributed/near/GridNearCacheEntry.java | 6 +- .../distributed/near/GridNearGetFuture.java | 2 +- .../distributed/near/GridNearLockFuture.java | 280 +- .../distributed/near/GridNearLockRequest.java | 91 +- .../distributed/near/GridNearLockResponse.java | 30 +- .../near/GridNearOffHeapCacheEntry.java | 60 + .../near/GridNearOptimisticTxPrepareFuture.java | 815 +++ .../GridNearPessimisticTxPrepareFuture.java | 350 ++ .../near/GridNearTransactionalCache.java | 8 +- .../near/GridNearTxFinishRequest.java | 28 +- .../cache/distributed/near/GridNearTxLocal.java | 152 +- .../near/GridNearTxPrepareFuture.java | 1050 ---- .../near/GridNearTxPrepareFutureAdapter.java | 231 + .../near/GridNearTxPrepareRequest.java | 86 +- .../near/GridNearTxPrepareResponse.java | 94 +- .../distributed/near/GridNearTxRemote.java | 24 +- .../distributed/near/GridNearUnlockRequest.java | 2 +- .../processors/cache/local/GridLocalCache.java | 6 +- .../cache/local/GridLocalCacheEntry.java | 18 + .../local/atomic/GridLocalAtomicCache.java | 31 +- .../processors/cache/query/CacheQuery.java | 2 +- .../query/GridCacheDistributedQueryManager.java | 3 + .../cache/query/GridCacheQueryAdapter.java | 165 +- .../cache/query/GridCacheQueryErrorFuture.java | 2 + .../cache/query/GridCacheQueryManager.java | 243 +- .../cache/query/GridCacheQueryRequest.java | 47 +- .../cache/query/GridCacheTwoStepQuery.java | 22 +- .../processors/cache/query/QueryCursorEx.java | 8 + .../continuous/CacheContinuousQueryHandler.java | 8 + .../continuous/CacheContinuousQueryManager.java | 28 +- .../cache/store/CacheOsStoreManager.java | 1 - .../cache/store/CacheStoreManager.java | 7 +- .../store/GridCacheStoreManagerAdapter.java | 202 +- .../cache/transactions/IgniteInternalTx.java | 19 +- .../transactions/IgniteTransactionsImpl.java | 4 +- .../cache/transactions/IgniteTxAdapter.java | 116 +- .../cache/transactions/IgniteTxEntry.java | 48 +- .../cache/transactions/IgniteTxHandler.java | 225 +- .../transactions/IgniteTxLocalAdapter.java | 345 +- .../cache/transactions/IgniteTxLocalEx.java | 21 +- .../cache/transactions/IgniteTxManager.java | 101 +- .../cacheobject/IgniteCacheObjectProcessor.java | 14 +- .../IgniteCacheObjectProcessorImpl.java | 14 +- .../continuous/AbstractContinuousMessage.java | 63 + .../continuous/GridContinuousMessageType.java | 12 - .../continuous/GridContinuousProcessor.java | 853 +-- .../processors/continuous/StartRequestData.java | 267 + .../StartRoutineAckDiscoveryMessage.java | 63 + .../StartRoutineDiscoveryMessage.java | 85 + .../StopRoutineAckDiscoveryMessage.java | 49 + .../continuous/StopRoutineDiscoveryMessage.java | 49 + .../datastreamer/DataStreamerCacheUpdaters.java | 2 +- .../datastreamer/DataStreamerImpl.java | 102 +- .../datastructures/DataStructuresProcessor.java | 236 +- .../datastructures/GridCacheSetImpl.java | 4 +- .../dr/IgniteDrDataStreamerCacheUpdater.java | 7 +- .../internal/processors/hadoop/HadoopJob.java | 2 +- .../processors/hadoop/HadoopJobInfo.java | 4 +- .../processors/hadoop/HadoopTaskContext.java | 14 +- .../hadoop/counter/HadoopCounterWriter.java | 5 +- .../ignite/internal/processors/igfs/IgfsEx.java | 8 +- .../internal/processors/igfs/IgfsImpl.java | 8 +- .../processors/igfs/IgfsIpcHandler.java | 184 +- .../processors/igfs/IgfsMetaManager.java | 2 +- .../igfs/IgfsSecondaryFileSystemImpl.java | 9 +- .../internal/processors/igfs/IgfsServer.java | 4 +- .../internal/processors/igfs/IgfsUtils.java | 16 + .../offheap/GridOffHeapProcessor.java | 19 +- .../processors/plugin/CachePluginManager.java | 10 +- .../plugin/IgnitePluginProcessor.java | 16 +- .../portable/GridPortableInputStream.java | 10 + .../processors/query/GridQueryIndexing.java | 34 +- .../processors/query/GridQueryProcessor.java | 432 +- .../messages/GridQueryNextPageResponse.java | 35 +- .../h2/twostep/messages/GridQueryRequest.java | 111 +- .../processors/resource/GridResourceField.java | 5 +- .../processors/resource/GridResourceIoc.java | 20 +- .../resource/GridResourceProcessor.java | 16 +- .../processors/rest/GridRestProcessor.java | 4 +- .../rest/client/message/GridRouterRequest.java | 18 + .../rest/client/message/GridRouterResponse.java | 18 + .../handlers/task/GridTaskCommandHandler.java | 12 +- .../rest/protocols/tcp/GridTcpRestProtocol.java | 3 +- .../service/GridServiceProcessor.java | 125 +- .../processors/task/GridTaskProcessor.java | 23 +- .../processors/task/GridTaskWorker.java | 4 +- .../timeout/GridSpiTimeoutObject.java | 73 + .../timeout/GridTimeoutProcessor.java | 105 +- .../IgniteTxRollbackCheckedException.java | 9 + .../internal/util/GridConfigurationFinder.java | 55 +- .../apache/ignite/internal/util/GridDebug.java | 48 +- .../ignite/internal/util/GridJavaProcess.java | 30 +- .../ignite/internal/util/IgniteUtils.java | 47 +- .../internal/util/future/GridFutureAdapter.java | 4 +- .../shmem/IpcSharedMemoryClientEndpoint.java | 2 +- .../ipc/shmem/IpcSharedMemoryNativeLoader.java | 151 +- .../shmem/IpcSharedMemoryServerEndpoint.java | 14 +- .../util/ipc/shmem/IpcSharedMemoryUtils.java | 4 +- .../util/lang/GridComputeJobWrapper.java | 96 - .../internal/util/nio/GridBufferedParser.java | 4 - .../util/nio/GridCommunicationClient.java | 30 +- .../internal/util/nio/GridDelimitedParser.java | 91 + .../util/nio/GridNioDelimitedBuffer.java | 106 + .../util/nio/GridNioRecoveryDescriptor.java | 13 +- .../ignite/internal/util/nio/GridNioServer.java | 64 +- .../util/nio/GridShmemCommunicationClient.java | 146 + .../util/nio/GridTcpCommunicationClient.java | 554 -- .../util/nio/GridTcpNioCommunicationClient.java | 8 - .../util/spring/IgniteSpringHelper.java | 10 + .../apache/ignite/internal/visor/VisorJob.java | 2 + .../internal/visor/VisorMultiNodeTask.java | 2 +- .../ignite/internal/visor/cache/VisorCache.java | 2 +- .../VisorCacheConfigurationCollectorJob.java | 6 +- .../internal/visor/cache/VisorCacheMetrics.java | 19 +- .../cache/VisorCacheMetricsCollectorTask.java | 10 +- .../cache/VisorCacheStoreConfiguration.java | 5 +- .../internal/visor/log/VisorLogSearchTask.java | 2 +- .../visor/node/VisorNodeDataCollectorJob.java | 4 + .../visor/node/VisorNodeDataCollectorTask.java | 9 +- .../node/VisorNodeDataCollectorTaskResult.java | 17 +- .../node/VisorNodeSuppressedErrorsTask.java | 12 +- .../visor/query/VisorQueryCleanupTask.java | 14 + .../internal/visor/query/VisorQueryJob.java | 13 +- .../internal/visor/query/VisorQueryTask.java | 3 +- .../util/VisorClusterGroupEmptyException.java | 37 + .../visor/util/VisorExceptionWrapper.java | 81 + .../internal/visor/util/VisorTaskUtils.java | 6 +- .../ignite/marshaller/MarshallerContext.java | 8 + .../ignite/mxbean/CacheMetricsMXBean.java | 80 + .../org/apache/ignite/plugin/PluginContext.java | 6 + .../apache/ignite/plugin/PluginProvider.java | 26 +- .../SpringApplicationContextResource.java | 4 +- .../apache/ignite/resources/SpringResource.java | 6 +- .../org/apache/ignite/services/Service.java | 5 +- .../org/apache/ignite/spi/IgniteSpiAdapter.java | 105 +- .../org/apache/ignite/spi/IgniteSpiContext.java | 66 +- .../ignite/spi/IgniteSpiTimeoutObject.java | 44 + .../spi/checkpoint/noop/NoopCheckpointSpi.java | 3 +- .../communication/tcp/TcpCommunicationSpi.java | 965 +-- .../tcp/TcpCommunicationSpiMBean.java | 29 +- .../ignite/spi/discovery/DiscoverySpi.java | 23 +- .../discovery/DiscoverySpiCustomMessage.java | 40 + .../spi/discovery/DiscoverySpiListener.java | 5 +- .../ignite/spi/discovery/tcp/ClientImpl.java | 1721 ++++++ .../ignite/spi/discovery/tcp/ServerImpl.java | 4849 +++++++++++++++ .../discovery/tcp/TcpClientDiscoverySpi.java | 1264 ---- .../tcp/TcpClientDiscoverySpiMBean.java | 164 - .../spi/discovery/tcp/TcpDiscoveryImpl.java | 279 + .../spi/discovery/tcp/TcpDiscoverySpi.java | 5818 ++++-------------- .../discovery/tcp/TcpDiscoverySpiAdapter.java | 1160 ---- .../spi/discovery/tcp/TcpDiscoverySpiMBean.java | 9 + .../tcp/internal/TcpDiscoveryNode.java | 25 +- .../tcp/internal/TcpDiscoveryNodesRing.java | 2 +- .../tcp/ipfinder/TcpDiscoveryIpFinder.java | 10 +- .../ipfinder/TcpDiscoveryIpFinderAdapter.java | 34 +- .../TcpDiscoveryMulticastIpFinder.java | 50 +- .../messages/TcpDiscoveryAbstractMessage.java | 34 +- .../TcpDiscoveryClientHeartbeatMessage.java | 67 + .../messages/TcpDiscoveryClientPingRequest.java | 56 + .../TcpDiscoveryClientPingResponse.java | 67 + .../TcpDiscoveryCustomEventMessage.java | 41 +- .../messages/TcpDiscoveryHeartbeatMessage.java | 28 +- .../TcpDiscoveryNodeAddFinishedMessage.java | 43 + .../messages/TcpDiscoveryNodeAddedMessage.java | 2 +- .../messages/TcpDiscoveryNodeFailedMessage.java | 18 + .../tcp/messages/TcpDiscoveryPingRequest.java | 6 + .../tcp/messages/TcpDiscoveryPingResponse.java | 15 +- .../RoundRobinGlobalLoadBalancer.java | 2 +- .../spi/swapspace/file/FileSwapSpaceSpi.java | 8 +- .../org/apache/ignite/stream/StreamAdapter.java | 111 + .../ignite/stream/StreamTupleExtractor.java | 33 + .../stream/socket/SocketMessageConverter.java | 31 + .../ignite/stream/socket/SocketStreamer.java | 218 + .../ignite/stream/socket/package-info.java | 21 + .../java/org/jsr166/ConcurrentHashMap8.java | 8 +- .../java/org/jsr166/ConcurrentLinkedDeque8.java | 586 +- .../src/main/java/org/jsr166/LongAdder8.java | 35 +- .../core/src/main/java/org/jsr166/README.txt | 11 + .../src/main/java/org/jsr166/Striped64_8.java | 22 +- .../java/org/jsr166/ThreadLocalRandom8.java | 19 +- .../src/main/java/org/jsr166/package-info.java | 12 +- .../resources/META-INF/classnames.properties | 1 - .../core/src/main/resources/ignite.properties | 2 +- modules/core/src/test/config/tests.properties | 2 +- .../ignite/GridSuppressedExceptionSelfTest.java | 4 +- .../affinity/IgniteClientNodeAffinityTest.java | 182 + ...cheStoreSessionListenerAbstractSelfTest.java | 315 + ...heStoreSessionListenerLifecycleSelfTest.java | 395 ++ .../CacheJdbcStoreSessionListenerSelfTest.java | 175 + .../internal/ClusterGroupAbstractTest.java | 777 +++ .../internal/ClusterGroupHostsSelfTest.java | 141 + .../ignite/internal/ClusterGroupSelfTest.java | 251 + .../ignite/internal/GridAffinitySelfTest.java | 1 + .../internal/GridDiscoveryEventSelfTest.java | 13 +- ...ridFailFastNodeFailureDetectionSelfTest.java | 22 +- .../GridFailoverTaskWithPredicateSelfTest.java | 3 - .../GridJobMasterLeaveAwareSelfTest.java | 2 - .../internal/GridJobStealingSelfTest.java | 3 - .../internal/GridProjectionAbstractTest.java | 768 --- .../GridProjectionForCachesSelfTest.java | 11 +- ...ectionLocalJobMultipleArgumentsSelfTest.java | 2 - .../ignite/internal/GridProjectionSelfTest.java | 251 - .../internal/GridReleaseTypeSelfTest.java | 77 +- .../apache/ignite/internal/GridSelfTest.java | 30 +- .../GridTaskExecutionContextSelfTest.java | 9 - .../GridTaskFailoverAffinityRunTest.java | 170 + .../IgniteComputeEmptyClusterGroupTest.java | 3 - .../IgniteComputeTopologyExceptionTest.java | 9 - .../IgniteSlowClientDetectionSelfTest.java | 187 + .../GridDiscoveryManagerAliveCacheSelfTest.java | 82 +- .../GridDiscoveryManagerAttributesSelfTest.java | 122 +- .../discovery/GridDiscoveryManagerSelfTest.java | 46 +- .../GridAffinityProcessorAbstractSelfTest.java | 1 + .../cache/CacheClientStoreSelfTest.java | 228 + .../cache/CacheOffheapMapEntrySelfTest.java | 168 + .../CacheReadThroughAtomicRestartSelfTest.java | 32 + ...heReadThroughLocalAtomicRestartSelfTest.java | 32 + .../CacheReadThroughLocalRestartSelfTest.java | 32 + ...dThroughReplicatedAtomicRestartSelfTest.java | 32 + ...cheReadThroughReplicatedRestartSelfTest.java | 32 + .../cache/CacheReadThroughRestartSelfTest.java | 133 + .../cache/CacheRemoveAllSelfTest.java | 81 + .../CacheStoreUsageMultinodeAbstractTest.java | 305 + ...eUsageMultinodeDynamicStartAbstractTest.java | 169 + ...oreUsageMultinodeDynamicStartAtomicTest.java | 32 + ...heStoreUsageMultinodeDynamicStartTxTest.java | 32 + ...reUsageMultinodeStaticStartAbstractTest.java | 158 + ...toreUsageMultinodeStaticStartAtomicTest.java | 32 + ...cheStoreUsageMultinodeStaticStartTxTest.java | 32 + .../GridCacheAbstractFailoverSelfTest.java | 12 +- .../cache/GridCacheAbstractFullApiSelfTest.java | 152 +- .../cache/GridCacheAbstractMetricsSelfTest.java | 48 +- .../GridCacheAbstractRemoveFailureTest.java | 23 + .../cache/GridCacheAbstractSelfTest.java | 7 +- .../cache/GridCacheAffinityRoutingSelfTest.java | 4 +- .../GridCacheAtomicMessageCountSelfTest.java | 1 + .../GridCacheConcurrentTxMultiNodeTest.java | 8 +- ...idCacheConfigurationConsistencySelfTest.java | 14 +- .../cache/GridCacheDeploymentSelfTest.java | 3 - .../cache/GridCacheEntryMemorySizeSelfTest.java | 91 +- .../GridCacheExAbstractFullApiSelfTest.java | 103 - .../cache/GridCacheMemoryModeSelfTest.java | 25 +- ...GridCacheMixedPartitionExchangeSelfTest.java | 2 +- ...ridCacheMultinodeUpdateAbstractSelfTest.java | 9 + ...inodeUpdateNearEnabledNoBackupsSelfTest.java | 2 +- ...CacheMultinodeUpdateNearEnabledSelfTest.java | 2 +- .../processors/cache/GridCacheOffHeapTest.java | 33 +- .../cache/GridCachePutAllFailoverSelfTest.java | 1 + .../GridCacheReferenceCleanupSelfTest.java | 3 - .../cache/GridCacheReloadSelfTest.java | 6 +- .../GridCacheReturnValueTransferSelfTest.java | 3 + .../processors/cache/GridCacheStopSelfTest.java | 5 + ...acheTcpClientDiscoveryMultiThreadedTest.java | 190 + .../processors/cache/GridCacheTestEntryEx.java | 4 + .../GridCacheVariableTopologySelfTest.java | 12 +- .../cache/GridCacheVersionMultinodeTest.java | 6 +- .../IgniteCacheAbstractStopBusySelfTest.java | 36 +- .../cache/IgniteCacheAbstractTest.java | 5 +- .../IgniteCacheAtomicStopBusySelfTest.java | 8 +- .../IgniteCacheConfigurationTemplateTest.java | 2 +- .../IgniteCacheEntryListenerAbstractTest.java | 14 +- .../IgniteCacheInterceptorSelfTestSuite.java | 2 +- .../cache/IgniteCacheInvokeReadThroughTest.java | 5 + .../cache/IgniteCacheNearLockValueSelfTest.java | 148 + .../IgniteCacheP2pUnmarshallingErrorTest.java | 29 +- ...gniteCacheP2pUnmarshallingNearErrorTest.java | 13 +- ...CacheP2pUnmarshallingRebalanceErrorTest.java | 15 +- .../IgniteCacheP2pUnmarshallingTxErrorTest.java | 25 +- .../IgniteCachePartitionMapUpdateTest.java | 226 + .../cache/IgniteCachePeekModesAbstractTest.java | 5 +- ...gniteCacheTransactionalStopBusySelfTest.java | 13 +- .../IgniteDaemonNodeMarshallerCacheTest.java | 192 + ...eDynamicCacheStartNoExchangeTimeoutTest.java | 466 ++ .../cache/IgniteDynamicCacheStartSelfTest.java | 138 +- ...niteDynamicCacheWithConfigStartSelfTest.java | 97 + .../IgniteDynamicClientCacheStartSelfTest.java | 283 + ...teStartCacheInTransactionAtomicSelfTest.java | 32 + .../IgniteStartCacheInTransactionSelfTest.java | 254 + .../cache/IgniteSystemCacheOnClientTest.java | 97 + .../IgniteTxMultiThreadedAbstractTest.java | 4 +- ...cheAtomicReferenceMultiNodeAbstractTest.java | 11 - .../GridCacheQueueApiSelfAbstractTest.java | 4 +- ...GridCacheQueueMultiNodeAbstractSelfTest.java | 6 +- ...dCacheQueueMultiNodeConsistencySelfTest.java | 5 + ...CacheQueueRotativeMultiNodeAbstractTest.java | 10 - .../GridCacheSetAbstractSelfTest.java | 31 +- .../IgniteClientDataStructuresAbstractTest.java | 283 + .../IgniteClientDataStructuresTest.java | 28 + ...IgniteClientDiscoveryDataStructuresTest.java | 28 + .../IgniteCountDownLatchAbstractSelfTest.java | 102 + .../IgniteDataStructureWithJobTest.java | 111 + ...omicOffheapQueueCreateMultiNodeSelfTest.java | 5 + ...ionedAtomicQueueCreateMultiNodeSelfTest.java | 5 + ...rtitionedDataStructuresFailoverSelfTest.java | 5 + ...edOffheapDataStructuresFailoverSelfTest.java | 5 + ...PartitionedQueueCreateMultiNodeSelfTest.java | 5 + ...dCachePartitionedQueueEntryMoveSelfTest.java | 5 + ...nedQueueFailoverDataConsistencySelfTest.java | 5 + ...eplicatedDataStructuresFailoverSelfTest.java | 5 + ...CacheLoadingConcurrentGridStartSelfTest.java | 5 + .../GridCacheAbstractJobExecutionTest.java | 3 - .../GridCacheAbstractNodeRestartSelfTest.java | 11 +- .../GridCacheClientModesAbstractSelfTest.java | 94 +- ...ientModesTcpClientDiscoveryAbstractTest.java | 168 + .../distributed/GridCacheLockAbstractTest.java | 2 - .../distributed/GridCacheMixedModeSelfTest.java | 3 + ...ridCachePartitionNotLoadedEventSelfTest.java | 82 + .../GridCachePreloadLifecycleAbstractTest.java | 2 - .../distributed/IgniteCache150ClientsTest.java | 189 + ...niteCacheClientNodeChangingTopologyTest.java | 1803 ++++++ .../IgniteCacheClientNodeConcurrentStart.java | 113 + ...teCacheClientNodePartitionsExchangeTest.java | 633 ++ .../distributed/IgniteCacheManyClientsTest.java | 318 + .../IgniteCacheMessageRecoveryAbstractTest.java | 1 + .../IgniteCacheTxMessageRecoveryTest.java | 5 + .../IgniteCrossCacheTxStoreSelfTest.java | 147 +- .../distributed/IgniteTxGetAfterStopTest.java | 131 + ...heAbstractTransformWriteThroughSelfTest.java | 3 - .../dht/GridCacheClientOnlySelfTest.java | 60 +- .../GridCacheColocatedTxExceptionSelfTest.java | 5 + .../GridCacheDhtClientRemoveFailureTest.java | 28 + ...GridCacheDhtEvictionNearReadersSelfTest.java | 11 +- .../dht/GridCacheDhtEvictionSelfTest.java | 11 +- .../GridCacheExColocatedFullApiSelfTest.java | 33 - ...achePartitionedNearDisabledLockSelfTest.java | 47 + ...ePartitionedNearDisabledMetricsSelfTest.java | 4 +- ...dCachePartitionedTopologyChangeSelfTest.java | 5 + .../dht/IgniteCacheMultiTxLockSelfTest.java | 53 +- ...ePrimaryNodeFailureRecoveryAbstractTest.java | 4 +- ...cClientInvalidPartitionHandlingSelfTest.java | 29 + .../GridCacheAtomicClientRemoveFailureTest.java | 28 + ...eAtomicInvalidPartitionHandlingSelfTest.java | 23 +- ...idCacheAtomicReplicatedFailoverSelfTest.java | 6 + ...unctionExcludeNeighborsAbstractSelfTest.java | 3 +- .../near/GridCacheAtomicNearOnlySelfTest.java | 32 - .../near/GridCacheExNearFullApiSelfTest.java | 39 - .../near/GridCacheNearEvictionSelfTest.java | 3 - ...idCacheNearOnlyMultiNodeFullApiSelfTest.java | 7 +- .../near/GridCacheNearOnlySelfTest.java | 63 +- .../near/GridCacheNearOnlyTopologySelfTest.java | 1 + .../near/GridCacheNearTxExceptionSelfTest.java | 5 + ...ionedClientOnlyNoPrimaryFullApiSelfTest.java | 5 +- .../GridCachePartitionedEvictionSelfTest.java | 11 +- ...PartitionedFullApiMultithreadedSelfTest.java | 5 + .../GridCachePartitionedFullApiSelfTest.java | 32 + ...idCachePartitionedHitsAndMissesSelfTest.java | 3 - ...achePartitionedMultiNodeFullApiSelfTest.java | 53 +- ...ePartitionedMultiThreadedPutGetSelfTest.java | 6 +- .../GridCachePartitionedNodeRestartTest.java | 5 + ...edOffHeapTieredMultiNodeFullApiSelfTest.java | 2 +- ...ePartitionedOptimisticTxNodeRestartTest.java | 5 + ...achePartitionedPreloadLifecycleSelfTest.java | 2 +- ...CachePartitionedTxMultiThreadedSelfTest.java | 5 + .../GridCachePartitionedTxSalvageSelfTest.java | 54 +- ...idCacheRendezvousAffinityClientSelfTest.java | 4 + .../near/IgniteCacheNearOnlyTxTest.java | 190 + .../near/NoneRebalanceModeSelfTest.java | 67 + .../GridCacheExReplicatedFullApiSelfTest.java | 33 - .../GridCacheReplicatedClientOnlySelfTest.java | 43 - .../GridCacheReplicatedFailoverSelfTest.java | 11 + ...eReplicatedFullApiMultithreadedSelfTest.java | 5 + .../GridCacheReplicatedInvalidateSelfTest.java | 4 +- .../GridCacheReplicatedLockSelfTest.java | 5 + ...ridCacheReplicatedMultiNodeLockSelfTest.java | 5 + .../GridCacheReplicatedMultiNodeSelfTest.java | 5 + .../GridCacheReplicatedNearOnlySelfTest.java | 43 - .../GridCacheReplicatedNodeRestartSelfTest.java | 85 + .../GridCacheReplicatedTxExceptionSelfTest.java | 5 + .../GridCacheSyncReplicatedPreloadSelfTest.java | 1 - .../replicated/GridReplicatedTxPreloadTest.java | 2 + ...acheAtomicReplicatedNodeRestartSelfTest.java | 5 + ...CacheReplicatedPreloadLifecycleSelfTest.java | 6 +- .../cache/eviction/EvictionAbstractTest.java | 1056 ++++ .../GridCacheBatchEvictUnswapSelfTest.java | 5 +- ...heConcurrentEvictionConsistencySelfTest.java | 82 +- .../GridCacheConcurrentEvictionsSelfTest.java | 29 +- .../GridCacheDistributedEvictionsSelfTest.java | 5 +- .../GridCacheEmptyEntriesAbstractSelfTest.java | 11 +- .../eviction/GridCacheEvictionAbstractTest.java | 484 -- .../GridCacheEvictionFilterSelfTest.java | 4 +- .../GridCacheEvictionTouchSelfTest.java | 22 +- .../cache/eviction/GridCacheMockEntry.java | 5 + ...cheSynchronousEvictionsFailoverSelfTest.java | 5 + .../fifo/FifoEvictionPolicySelfTest.java | 262 + ...ridCacheFifoBatchEvictionPolicySelfTest.java | 384 -- .../GridCacheFifoEvictionPolicySelfTest.java | 372 -- .../lru/GridCacheLruEvictionPolicySelfTest.java | 417 -- .../GridCacheLruNearEvictionPolicySelfTest.java | 136 - ...heNearOnlyLruNearEvictionPolicySelfTest.java | 171 - .../eviction/lru/LruEvictionPolicySelfTest.java | 353 ++ .../lru/LruNearEvictionPolicySelfTest.java | 140 + .../LruNearOnlyNearEvictionPolicySelfTest.java | 172 + .../GridCacheRandomEvictionPolicySelfTest.java | 258 - .../RandomEvictionPolicyCacheSizeSelfTest.java | 78 + .../random/RandomEvictionPolicySelfTest.java | 357 ++ ...dCacheSortedBatchEvictionPolicySelfTest.java | 385 -- ...acheSortedEvictionPolicyPerformanceTest.java | 135 - .../GridCacheSortedEvictionPolicySelfTest.java | 373 -- .../SortedEvictionPolicyPerformanceTest.java | 134 + .../sorted/SortedEvictionPolicySelfTest.java | 266 + .../IgniteCacheClientNearCacheExpiryTest.java | 103 + .../IgniteCacheExpiryPolicyAbstractTest.java | 10 +- .../IgniteCacheExpiryPolicyTestSuite.java | 2 + ...eCacheExpiryPolicyWithStoreAbstractTest.java | 4 +- .../IgniteCacheTxStoreSessionTest.java | 4 + ...CacheLocalOffHeapAndSwapMetricsSelfTest.java | 412 ++ .../local/GridCacheExLocalFullApiSelfTest.java | 30 - ...dCacheLocalFullApiMultithreadedSelfTest.java | 5 + .../GridCacheLocalIsolatedNodesSelfTest.java | 18 +- .../GridCacheLocalTxExceptionSelfTest.java | 5 + .../GridCacheSwapScanQueryAbstractSelfTest.java | 115 +- ...ridCacheContinuousQueryAbstractSelfTest.java | 8 +- ...CacheClientWriteBehindStoreAbstractTest.java | 104 + ...teCacheClientWriteBehindStoreAtomicTest.java | 38 + .../IgnteCacheClientWriteBehindStoreTxTest.java | 32 + .../closure/GridClosureProcessorSelfTest.java | 29 +- .../continuous/GridEventConsumeSelfTest.java | 98 +- .../DataStreamProcessorSelfTest.java | 48 +- .../DataStreamerMultiThreadedSelfTest.java | 62 +- .../DataStreamerMultinodeCreateCacheTest.java | 97 + .../igfs/IgfsClientCacheSelfTest.java | 12 +- .../processors/igfs/IgfsCommonAbstractTest.java | 10 - .../processors/igfs/IgfsModesSelfTest.java | 4 +- .../processors/igfs/IgfsOneClientNodeTest.java | 8 +- .../service/ClosureServiceClientsNodesTest.java | 251 + .../service/GridServiceClientNodeTest.java | 81 + .../internal/util/IgniteUtilsSelfTest.java | 22 + .../ipc/shmem/IgfsSharedMemoryTestServer.java | 2 + .../IpcSharedMemoryCrashDetectionSelfTest.java | 2 +- .../ipc/shmem/IpcSharedMemorySpaceSelfTest.java | 2 +- .../ipc/shmem/IpcSharedMemoryUtilsSelfTest.java | 2 +- .../LoadWithCorruptedLibFileTestRunner.java | 2 +- .../IpcSharedMemoryBenchmarkReader.java | 2 +- .../IpcSharedMemoryBenchmarkWriter.java | 2 +- .../nio/GridNioDelimitedBufferSelfTest.java | 112 + .../internal/util/nio/GridNioSelfTest.java | 15 +- .../internal/util/nio/GridNioSslSelfTest.java | 2 + .../unsafe/GridUnsafeMemorySelfTest.java | 4 +- .../tostring/GridToStringBuilderSelfTest.java | 4 +- .../loadtests/GridCacheMultiNodeLoadTest.java | 5 +- .../communication/GridIoManagerBenchmark0.java | 1 + .../GridCachePartitionedAtomicLongLoadTest.java | 6 +- .../loadtests/hashmap/GridCacheTestContext.java | 4 +- .../swap/GridSwapEvictAllBenchmark.java | 6 +- .../marshaller/MarshallerContextTestImpl.java | 29 +- .../OptimizedMarshallerNodeFailoverTest.java | 4 +- ...GridMessagingNoPeerClassLoadingSelfTest.java | 7 +- .../ignite/messaging/GridMessagingSelfTest.java | 16 +- .../IgniteMessagingWithClientTest.java | 166 + .../GridP2PContinuousDeploymentSelfTest.java | 2 + .../p2p/GridP2PLocalDeploymentSelfTest.java | 6 +- .../p2p/GridP2PRemoteClassLoadersSelfTest.java | 31 +- .../spi/GridTcpSpiForwardingSelfTest.java | 4 +- .../GridTcpCommunicationSpiAbstractTest.java | 17 +- ...mmunicationSpiConcurrentConnectSelfTest.java | 6 +- .../GridTcpCommunicationSpiConfigSelfTest.java | 3 - ...cpCommunicationSpiMultithreadedSelfTest.java | 23 +- ...pCommunicationSpiMultithreadedShmemTest.java | 28 + ...dTcpCommunicationSpiRecoveryAckSelfTest.java | 1 + ...GridTcpCommunicationSpiRecoverySelfTest.java | 1 + .../GridTcpCommunicationSpiShmemSelfTest.java | 38 + .../tcp/GridTcpCommunicationSpiTcpSelfTest.java | 7 + .../discovery/AbstractDiscoverySelfTest.java | 21 +- ...pClientDiscoveryMarshallerCheckSelfTest.java | 76 + .../tcp/TcpClientDiscoverySelfTest.java | 700 --- .../tcp/TcpClientDiscoverySpiMulticastTest.java | 129 + .../tcp/TcpClientDiscoverySpiSelfTest.java | 1632 +++++ .../tcp/TcpDiscoveryConcurrentStartTest.java | 61 +- .../tcp/TcpDiscoveryMultiThreadedTest.java | 18 +- .../discovery/tcp/TcpDiscoveryRestartTest.java | 199 + .../spi/discovery/tcp/TcpDiscoverySelfTest.java | 46 +- .../stream/socket/SocketStreamerSelfTest.java | 310 + .../ignite/stream/socket/package-info.java | 21 + .../testframework/GridSpiTestContext.java | 42 +- .../ignite/testframework/GridTestUtils.java | 31 +- .../config/GridTestProperties.java | 14 +- .../testframework/junits/GridAbstractTest.java | 54 +- .../junits/GridTestKernalContext.java | 3 +- .../junits/IgniteTestResources.java | 16 +- .../junits/cache/TestCacheSession.java | 18 + .../cache/TestThreadLocalCacheSession.java | 15 + .../junits/common/GridCommonAbstractTest.java | 98 +- .../ignite/testsuites/IgniteBasicTestSuite.java | 37 +- .../IgniteCacheDataStructuresSelfTestSuite.java | 28 +- .../IgniteCacheEvictionSelfTestSuite.java | 18 +- .../IgniteCacheFailoverTestSuite.java | 26 +- .../IgniteCacheFailoverTestSuite2.java | 47 + .../IgniteCacheFullApiSelfTestSuite.java | 14 +- .../IgniteCacheMetricsSelfTestSuite.java | 1 + .../IgniteCacheNearOnlySelfTestSuite.java | 16 +- ...gniteCacheP2pUnmarshallingErrorTestSuit.java | 41 - ...niteCacheP2pUnmarshallingErrorTestSuite.java | 53 + .../testsuites/IgniteCacheRestartTestSuite.java | 10 +- .../IgniteCacheTcpClientDiscoveryTestSuite.java | 47 + .../ignite/testsuites/IgniteCacheTestSuite.java | 55 +- .../testsuites/IgniteCacheTestSuite2.java | 18 +- .../testsuites/IgniteCacheTestSuite3.java | 16 +- .../testsuites/IgniteCacheTestSuite4.java | 39 +- .../IgniteCacheWriteBehindTestSuite.java | 2 + .../testsuites/IgniteClientTestSuite.java | 38 + .../testsuites/IgniteComputeGridTestSuite.java | 1 + .../testsuites/IgniteKernalSelfTestSuite.java | 23 +- .../IgniteMarshallerSelfTestSuite.java | 28 +- .../IgniteSpiCommunicationSelfTestSuite.java | 2 + .../IgniteSpiDiscoverySelfTestSuite.java | 4 +- .../testsuites/IgniteStreamSelfTestSuite.java | 39 + .../testsuites/IgniteUtilSelfTestSuite.java | 19 +- .../apache/ignite/util/GridRandomSelfTest.java | 4 +- .../ignite/util/TestTcpCommunicationSpi.java | 21 + modules/extdata/p2p/pom.xml | 2 +- .../p2p/GridP2PContinuousDeploymentTask1.java | 2 +- .../tests/p2p/P2PTestTaskExternalPath1.java | 10 +- .../tests/p2p/P2PTestTaskExternalPath2.java | 8 +- modules/extdata/uri/pom.xml | 2 +- modules/gce/pom.xml | 2 +- .../gce/TcpDiscoveryGoogleStorageIpFinder.java | 43 +- modules/geospatial/pom.xml | 2 +- .../query/h2/GridH2IndexingGeoSelfTest.java | 20 +- modules/hadoop/pom.xml | 81 +- .../fs/IgniteHadoopFileSystemCounterWriter.java | 21 +- .../fs/IgniteHadoopIgfsSecondaryFileSystem.java | 165 +- .../hadoop/fs/v1/IgniteHadoopFileSystem.java | 137 +- .../hadoop/fs/v2/IgniteHadoopFileSystem.java | 32 +- .../processors/hadoop/HadoopClassLoader.java | 29 + .../processors/hadoop/HadoopDefaultJobInfo.java | 27 +- .../internal/processors/hadoop/HadoopUtils.java | 51 +- .../hadoop/SecondaryFileSystemProvider.java | 58 +- .../hadoop/fs/HadoopDistributedFileSystem.java | 91 - .../hadoop/fs/HadoopFileSystemCacheUtils.java | 241 + .../hadoop/fs/HadoopFileSystemsUtils.java | 26 +- .../hadoop/fs/HadoopLazyConcurrentMap.java | 209 + .../processors/hadoop/igfs/HadoopIgfsEx.java | 6 + .../hadoop/igfs/HadoopIgfsInProc.java | 170 +- .../processors/hadoop/igfs/HadoopIgfsIpcIo.java | 2 +- .../hadoop/igfs/HadoopIgfsOutProc.java | 33 +- .../hadoop/igfs/HadoopIgfsWrapper.java | 19 +- .../hadoop/jobtracker/HadoopJobTracker.java | 25 +- .../hadoop/taskexecutor/HadoopRunnableTask.java | 20 +- .../child/HadoopChildProcessRunner.java | 3 +- .../processors/hadoop/v2/HadoopV2Context.java | 10 +- .../processors/hadoop/v2/HadoopV2Job.java | 111 +- .../hadoop/v2/HadoopV2JobResourceManager.java | 40 +- .../hadoop/v2/HadoopV2TaskContext.java | 85 +- .../hadoop/HadoopClientProtocolSelfTest.java | 6 +- .../HadoopIgfs20FileSystemAbstractSelfTest.java | 73 +- ...oopSecondaryFileSystemConfigurationTest.java | 18 +- .../apache/ignite/igfs/IgfsEventsTestSuite.java | 5 +- .../igfs/IgfsNearOnlyMultiNodeSelfTest.java | 5 +- .../IgniteHadoopFileSystemAbstractSelfTest.java | 65 +- .../IgniteHadoopFileSystemClientSelfTest.java | 2 +- ...IgniteHadoopFileSystemHandshakeSelfTest.java | 7 + .../IgniteHadoopFileSystemIpcCacheSelfTest.java | 9 + .../hadoop/HadoopAbstractSelfTest.java | 19 +- .../hadoop/HadoopCommandLineTest.java | 14 +- .../hadoop/HadoopFileSystemsTest.java | 23 +- .../processors/hadoop/HadoopMapReduceTest.java | 185 +- .../hadoop/HadoopTaskExecutionSelfTest.java | 2 +- .../hadoop/HadoopTasksAllVersionsTest.java | 15 +- .../processors/hadoop/HadoopTasksV1Test.java | 8 +- .../processors/hadoop/HadoopTasksV2Test.java | 8 +- .../processors/hadoop/HadoopV2JobSelfTest.java | 8 +- .../collections/HadoopAbstractMapTest.java | 15 +- .../collections/HadoopHashMapSelfTest.java | 4 +- .../collections/HadoopSkipListSelfTest.java | 4 +- .../HadoopExternalTaskExecutionSelfTest.java | 2 + .../HadoopExternalCommunicationSelfTest.java | 5 + .../testsuites/IgniteHadoopTestSuite.java | 11 +- .../IgniteIgfsLinuxAndMacOSTestSuite.java | 3 +- modules/hibernate/pom.xml | 16 +- .../hibernate/CacheHibernateBlobStore.java | 87 +- .../CacheHibernateBlobStoreFactory.java | 235 + .../CacheHibernateStoreSessionListener.java | 216 + .../hibernate/src/test/config/factory-cache.xml | 59 + .../src/test/config/factory-cache1.xml | 61 + .../config/factory-incorrect-store-cache.xml | 56 + .../hibernate/HibernateL2CacheSelfTest.java | 5 + .../HibernateL2CacheTransactionalSelfTest.java | 5 + .../CacheHibernateStoreFactorySelfTest.java | 273 + ...heHibernateStoreSessionListenerSelfTest.java | 228 + .../testsuites/IgniteHibernateTestSuite.java | 8 +- modules/indexing/pom.xml | 18 +- .../processors/query/h2/IgniteH2Indexing.java | 142 +- .../query/h2/opt/GridH2AbstractKeyValueRow.java | 18 +- .../query/h2/opt/GridH2KeyValueRowOffheap.java | 4 +- .../query/h2/sql/GridSqlOperationType.java | 2 +- .../query/h2/sql/GridSqlQuerySplitter.java | 53 +- .../query/h2/twostep/GridMapQueryExecutor.java | 321 +- .../query/h2/twostep/GridMergeIndex.java | 17 +- .../h2/twostep/GridMergeIndexUnsorted.java | 7 +- .../h2/twostep/GridReduceQueryExecutor.java | 656 +- .../query/h2/twostep/GridResultPage.java | 21 +- .../CacheAbstractQueryMetricsSelfTest.java | 205 + .../CachePartitionedQueryMetricsSelfTest.java | 32 + .../CacheReplicatedQueryMetricsSelfTest.java | 32 + ...CacheScanPartitionQueryFallbackSelfTest.java | 408 ++ .../cache/GridCacheCrossCacheQuerySelfTest.java | 25 +- .../cache/GridCacheOffHeapSelfTest.java | 1 - .../GridCacheOffheapIndexEntryEvictTest.java | 200 + .../cache/GridCacheOffheapIndexGetSelfTest.java | 183 + .../cache/GridCacheQueryMetricsSelfTest.java | 152 - ...idCacheReduceQueryMultithreadedSelfTest.java | 10 - .../processors/cache/GridCacheSwapSelfTest.java | 3 - .../cache/GridIndexingWithNoopSwapSelfTest.java | 6 +- .../IgniteCacheAbstractFieldsQuerySelfTest.java | 13 +- .../cache/IgniteCacheAbstractQuerySelfTest.java | 85 +- ...acheConfigurationPrimitiveTypesSelfTest.java | 104 + .../cache/IgniteCacheOffheapEvictQueryTest.java | 196 + ...niteCacheP2pUnmarshallingQueryErrorTest.java | 3 +- ...hePartitionedQueryMultiThreadedSelfTest.java | 40 +- ...QueryMultiThreadedOffHeapTieredSelfTest.java | 37 + ...eQueryMultiThreadedOffHeapTiredSelfTest.java | 37 - .../IgniteCacheQueryMultiThreadedSelfTest.java | 15 +- ...QueryOffheapEvictsMultiThreadedSelfTest.java | 5 + ...lientQueryReplicatedNodeRestartSelfTest.java | 419 ++ .../IgniteCacheQueryNodeRestartSelfTest.java | 41 +- .../IgniteCacheQueryNodeRestartSelfTest2.java | 383 ++ .../local/IgniteCacheLocalQuerySelfTest.java | 6 + ...dCacheAbstractReduceFieldsQuerySelfTest.java | 1 - .../cache/ttl/CacheTtlAbstractSelfTest.java | 6 +- .../h2/GridIndexingSpiAbstractSelfTest.java | 4 +- .../query/h2/sql/BaseH2CompareQueryTest.java | 22 +- .../query/h2/sql/GridQueryParsingTest.java | 5 +- .../IgniteCacheQuerySelfTestSuite.java | 13 +- .../IgniteCacheWithIndexingTestSuite.java | 5 + modules/jcl/pom.xml | 2 +- modules/jta/pom.xml | 2 +- .../processors/cache/jta/CacheJtaManager.java | 4 +- .../cache/jta/GridCacheXAResource.java | 18 +- .../processors/cache/GridCacheJtaSelfTest.java | 2 +- modules/log4j/pom.xml | 2 +- modules/mesos/README.txt | 28 + modules/mesos/licenses/apache-2.0.txt | 202 + modules/mesos/licenses/jetty-epl-license.txt | 69 + modules/mesos/pom.xml | 101 + .../apache/ignite/mesos/ClusterProperties.java | 534 ++ .../apache/ignite/mesos/IgniteFramework.java | 119 + .../apache/ignite/mesos/IgniteScheduler.java | 365 ++ .../org/apache/ignite/mesos/IgniteTask.java | 86 + .../org/apache/ignite/mesos/package-info.java | 22 + .../ignite/mesos/resource/IgniteProvider.java | 234 + .../ignite/mesos/resource/JettyServer.java | 61 + .../ignite/mesos/resource/ResourceHandler.java | 142 + .../ignite/mesos/resource/ResourceProvider.java | 120 + .../ignite/mesos/resource/package-info.java | 22 + .../main/resources/ignite-default-config.xml | 35 + .../org/apache/ignite/IgniteMesosTestSuite.java | 38 + .../ignite/mesos/IgniteSchedulerSelfTest.java | 464 ++ modules/rest-http/pom.xml | 2 +- modules/scalar-2.10/README.txt | 4 + modules/scalar-2.10/licenses/apache-2.0.txt | 202 + .../scalar-2.10/licenses/scala-bsd-license.txt | 18 + modules/scalar-2.10/pom.xml | 197 + modules/scalar/pom.xml | 2 +- .../scalar/tests/ScalarCacheQueriesSpec.scala | 154 +- .../ignite/scalar/tests/ScalarCacheSpec.scala | 23 +- .../scalar/tests/ScalarConversionsSpec.scala | 43 +- .../scalar/tests/ScalarProjectionSpec.scala | 128 +- .../scalar/tests/ScalarReturnableSpec.scala | 41 +- modules/schedule/pom.xml | 2 +- modules/schema-import/pom.xml | 2 +- modules/slf4j/pom.xml | 2 +- modules/spark-2.10/README.txt | 4 + modules/spark-2.10/licenses/apache-2.0.txt | 202 + .../spark-2.10/licenses/scala-bsd-license.txt | 18 + modules/spark-2.10/pom.xml | 120 + modules/spark/README.txt | 8 + modules/spark/licenses/apache-2.0.txt | 202 + modules/spark/licenses/scala-bsd-license.txt | 18 + modules/spark/pom.xml | 110 + .../org/apache/ignite/spark/IgniteContext.scala | 119 + .../org/apache/ignite/spark/IgniteRDD.scala | 244 + .../apache/ignite/spark/JavaIgniteContext.scala | 63 + .../org/apache/ignite/spark/JavaIgniteRDD.scala | 99 + .../ignite/spark/impl/IgniteAbstractRDD.scala | 39 + .../ignite/spark/impl/IgnitePartition.scala | 24 + .../ignite/spark/impl/IgniteQueryIterator.scala | 27 + .../apache/ignite/spark/impl/IgniteSqlRDD.scala | 41 + .../spark/impl/JavaIgniteAbstractRDD.scala | 34 + .../ignite/spark/JavaIgniteRDDSelfTest.java | 298 + .../scala/org/apache/ignite/spark/Entity.scala | 28 + .../org/apache/ignite/spark/IgniteRddSpec.scala | 231 + modules/spring/pom.xml | 23 +- .../spring/CacheSpringStoreSessionListener.java | 207 + .../GridResourceSpringBeanInjector.java | 2 +- .../util/spring/IgniteSpringHelperImpl.java | 17 + .../src/test/config/incorrect-store-cache.xml | 57 + modules/spring/src/test/config/node.xml | 43 + modules/spring/src/test/config/node1.xml | 45 + .../test/config/pojo-incorrect-store-cache.xml | 56 + modules/spring/src/test/config/store-cache.xml | 59 + modules/spring/src/test/config/store-cache1.xml | 62 + .../jdbc/CacheJdbcBlobStoreFactorySelfTest.java | 172 + .../jdbc/CacheJdbcPojoStoreFactorySelfTest.java | 193 + ...CacheSpringStoreSessionListenerSelfTest.java | 197 + .../testsuites/IgniteSpringTestSuite.java | 8 + modules/ssh/pom.xml | 2 +- modules/tools/pom.xml | 2 +- .../ignite/tools/classgen/ClassesGenerator.java | 30 +- modules/urideploy/pom.xml | 2 +- modules/visor-console-2.10/README.txt | 4 + modules/visor-console-2.10/pom.xml | 174 + .../licenses/jcraft-revised-bsd.txt | 28 - modules/visor-console/pom.xml | 4 +- .../commands/cache/VisorCacheCommand.scala | 7 +- .../commands/cache/VisorCacheScanCommand.scala | 2 +- .../visor/commands/node/VisorNodeCommand.scala | 2 +- .../commands/tasks/VisorTasksCommand.scala | 2 +- .../scala/org/apache/ignite/visor/visor.scala | 63 +- .../ignite/visor/VisorRuntimeBaseSpec.scala | 2 +- .../visor/commands/VisorArgListSpec.scala | 60 +- .../commands/VisorFileNameCompleterSpec.scala | 34 +- .../commands/ack/VisorAckCommandSpec.scala | 20 +- .../commands/alert/VisorAlertCommandSpec.scala | 68 +- .../cache/VisorCacheClearCommandSpec.scala | 48 +- .../commands/cache/VisorCacheCommandSpec.scala | 66 +- .../config/VisorConfigurationCommandSpec.scala | 8 +- .../cswap/VisorCacheSwapCommandSpec.scala | 24 +- .../deploy/VisorDeployCommandSpec.scala | 10 +- .../disco/VisorDiscoveryCommandSpec.scala | 46 +- .../events/VisorEventsCommandSpec.scala | 28 +- .../visor/commands/gc/VisorGcCommandSpec.scala | 30 +- .../commands/help/VisorHelpCommandSpec.scala | 57 +- .../commands/kill/VisorKillCommandSpec.scala | 58 +- .../commands/log/VisorLogCommandSpec.scala | 10 +- .../commands/mem/VisorMemoryCommandSpec.scala | 77 +- .../commands/node/VisorNodeCommandSpec.scala | 22 +- .../commands/open/VisorOpenCommandSpec.scala | 16 +- .../commands/ping/VisorPingCommandSpec.scala | 16 +- .../commands/start/VisorStartCommandSpec.scala | 126 +- .../commands/tasks/VisorTasksCommandSpec.scala | 112 +- .../commands/top/VisorTopologyCommandSpec.scala | 52 +- .../commands/vvm/VisorVvmCommandSpec.scala | 30 +- modules/visor-plugins/pom.xml | 2 +- modules/web/pom.xml | 2 +- .../IgniteWebSessionSelfTestSuite.java | 2 +- .../config/benchmark-client-mode.properties | 89 + modules/yardstick/pom.xml | 2 +- parent/pom.xml | 14 +- pom.xml | 125 +- scripts/git-apply-patch.sh | 8 +- scripts/git-format-patch.sh | 16 +- scripts/git-patch-functions.sh | 36 +- scripts/git-patch-prop.sh | 2 +- 972 files changed, 59669 insertions(+), 24272 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/bd46365d/pom.xml ----------------------------------------------------------------------