Merge remote-tracking branch 'remotes/origin/ignite-sprint-6' into ignite-gg-10326
Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/89cc6e76 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/89cc6e76 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/89cc6e76 Branch: refs/heads/ignite-gg-10326 Commit: 89cc6e765687c40dcafecb6ccd06e1e56c0573c8 Parents: a49a1a4 95b7147 Author: ptupitsyn <ptupit...@gridgain.com> Authored: Thu Jun 11 09:11:46 2015 +0300 Committer: ptupitsyn <ptupit...@gridgain.com> Committed: Thu Jun 11 09:11:46 2015 +0300 ---------------------------------------------------------------------- DEVNOTES.txt | 42 +- assembly/dependencies-visor-console.xml | 3 + .../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 +- .../client/router/TcpSslRouterSelfTest.java | 5 + .../client/suite/IgniteClientTestSuite.java | 3 +- .../java/org/apache/ignite/IgniteCache.java | 41 +- .../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/store/CacheStore.java | 2 + .../ignite/cache/store/CacheStoreSession.java | 22 + .../cache/store/CacheStoreSessionListener.java | 133 + .../jdbc/CacheJdbcStoreSessionListener.java | 141 + .../org/apache/ignite/cluster/ClusterNode.java | 24 +- .../configuration/CacheConfiguration.java | 66 +- .../configuration/IgniteConfiguration.java | 48 +- .../org/apache/ignite/igfs/IgfsUserContext.java | 119 + .../igfs/secondary/IgfsSecondaryFileSystem.java | 7 + .../ignite/internal/ClusterMetricsSnapshot.java | 14 + .../internal/GridEventConsumeHandler.java | 100 +- .../ignite/internal/GridKernalContext.java | 5 + .../ignite/internal/GridKernalContextImpl.java | 5 + .../apache/ignite/internal/IgniteKernal.java | 56 +- .../ignite/internal/IgniteNodeAttributes.java | 5 +- .../org/apache/ignite/internal/IgnitionEx.java | 30 +- .../internal/MarshallerContextAdapter.java | 36 +- .../ignite/internal/MarshallerContextImpl.java | 2 +- .../internal/events/DiscoveryCustomEvent.java | 18 +- .../internal/igfs/common/IgfsMarshaller.java | 35 +- .../igfs/common/IgfsPathControlRequest.java | 22 + .../internal/managers/GridManagerAdapter.java | 68 +- .../checkpoint/GridCheckpointManager.java | 52 +- .../managers/communication/GridIoManager.java | 129 +- .../managers/discovery/CustomEventListener.java | 31 + .../discovery/CustomMessageWrapper.java | 63 + .../discovery/DiscoveryCustomMessage.java | 54 + .../discovery/GridDiscoveryManager.java | 278 +- .../managers/indexing/GridIndexingManager.java | 4 - .../affinity/GridAffinityAssignment.java | 12 + .../affinity/GridAffinityAssignmentCache.java | 37 +- .../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 | 50 +- .../cache/GridCacheAffinityManager.java | 14 + .../cache/GridCacheConcurrentMap.java | 21 +- .../processors/cache/GridCacheContext.java | 22 +- .../processors/cache/GridCacheEntryEx.java | 6 + .../processors/cache/GridCacheGateway.java | 2 +- .../processors/cache/GridCacheIoManager.java | 8 +- .../processors/cache/GridCacheMapEntry.java | 69 +- .../processors/cache/GridCacheMvccManager.java | 32 +- .../GridCachePartitionExchangeManager.java | 97 +- .../processors/cache/GridCachePreloader.java | 6 +- .../cache/GridCachePreloaderAdapter.java | 11 +- .../processors/cache/GridCacheProcessor.java | 121 +- .../processors/cache/GridCacheProxyImpl.java | 26 +- .../cache/GridCacheSharedContext.java | 48 +- .../processors/cache/GridCacheSwapManager.java | 118 +- .../processors/cache/GridCacheTtlManager.java | 9 +- .../processors/cache/GridCacheUtils.java | 288 +- .../processors/cache/IgniteCacheProxy.java | 23 + .../processors/cache/IgniteInternalCache.java | 43 +- .../processors/cache/KeyCacheObjectImpl.java | 11 +- .../cache/affinity/GridCacheAffinityImpl.java | 10 +- .../CacheDataStructuresManager.java | 2 +- .../distributed/GridDistributedCacheEntry.java | 7 - .../distributed/GridDistributedTxMapping.java | 17 + .../dht/GridClientPartitionTopology.java | 10 +- .../dht/GridDhtAssignmentFetchFuture.java | 4 +- .../distributed/dht/GridDhtCacheAdapter.java | 27 +- .../distributed/dht/GridDhtCacheEntry.java | 6 +- .../cache/distributed/dht/GridDhtGetFuture.java | 11 +- .../distributed/dht/GridDhtLockFuture.java | 10 +- .../dht/GridDhtPartitionTopologyImpl.java | 38 +- .../dht/GridDhtTransactionalCacheAdapter.java | 224 +- .../distributed/dht/GridDhtTxLocalAdapter.java | 8 +- .../distributed/dht/GridDhtTxPrepareFuture.java | 3 +- .../dht/atomic/GridDhtAtomicCache.java | 53 +- .../dht/atomic/GridDhtAtomicUpdateFuture.java | 10 +- .../dht/atomic/GridNearAtomicUpdateFuture.java | 84 +- .../dht/atomic/GridNearAtomicUpdateRequest.java | 112 +- .../dht/colocated/GridDhtColocatedCache.java | 12 +- .../colocated/GridDhtColocatedLockFuture.java | 213 +- .../dht/preloader/GridDhtForceKeysFuture.java | 44 +- .../preloader/GridDhtPartitionDemandPool.java | 26 +- .../dht/preloader/GridDhtPartitionMap.java | 2 +- .../preloader/GridDhtPartitionSupplyPool.java | 29 +- .../GridDhtPartitionsExchangeFuture.java | 442 +- .../preloader/GridDhtPartitionsFullMessage.java | 4 +- .../GridDhtPartitionsSingleMessage.java | 33 +- .../dht/preloader/GridDhtPreloader.java | 39 +- .../preloader/GridDhtPreloaderAssignments.java | 3 +- .../distributed/near/GridNearAtomicCache.java | 5 + .../distributed/near/GridNearCacheAdapter.java | 2 +- .../distributed/near/GridNearGetFuture.java | 2 +- .../distributed/near/GridNearLockFuture.java | 271 +- .../distributed/near/GridNearLockRequest.java | 68 +- .../distributed/near/GridNearLockResponse.java | 48 +- .../near/GridNearOptimisticTxPrepareFuture.java | 83 +- .../GridNearPessimisticTxPrepareFuture.java | 5 +- .../near/GridNearTransactionalCache.java | 4 +- .../cache/distributed/near/GridNearTxLocal.java | 43 +- .../near/GridNearTxPrepareRequest.java | 72 +- .../near/GridNearTxPrepareResponse.java | 70 +- .../processors/cache/local/GridLocalCache.java | 6 +- .../local/atomic/GridLocalAtomicCache.java | 31 +- .../cache/query/GridCacheQueryAdapter.java | 24 +- .../cache/query/GridCacheQueryErrorFuture.java | 2 + .../cache/query/GridCacheQueryManager.java | 2 +- .../continuous/CacheContinuousQueryManager.java | 28 +- .../cache/store/CacheOsStoreManager.java | 1 - .../cache/store/CacheStoreManager.java | 7 +- .../store/GridCacheStoreManagerAdapter.java | 202 +- .../cache/transactions/IgniteInternalTx.java | 5 + .../cache/transactions/IgniteTxAdapter.java | 48 +- .../cache/transactions/IgniteTxHandler.java | 148 +- .../transactions/IgniteTxLocalAdapter.java | 170 +- .../cache/transactions/IgniteTxManager.java | 3 - .../cacheobject/IgniteCacheObjectProcessor.java | 5 +- .../IgniteCacheObjectProcessorImpl.java | 2 +- .../continuous/AbstractContinuousMessage.java | 63 + .../continuous/GridContinuousMessageType.java | 12 - .../continuous/GridContinuousProcessor.java | 838 +-- .../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 | 94 +- .../datastructures/DataStructuresProcessor.java | 107 +- .../internal/processors/hadoop/HadoopJob.java | 2 +- .../processors/hadoop/HadoopTaskContext.java | 14 +- .../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 + .../processors/query/GridQueryProcessor.java | 305 +- .../service/GridServiceProcessor.java | 125 +- .../timeout/GridSpiTimeoutObject.java | 73 + .../timeout/GridTimeoutProcessor.java | 105 +- .../IgniteTxRollbackCheckedException.java | 9 + .../ignite/internal/util/GridJavaProcess.java | 30 +- .../internal/util/future/GridFutureAdapter.java | 4 +- .../util/nio/GridCommunicationClient.java | 30 +- .../util/nio/GridNioDelimitedBuffer.java | 2 +- .../util/nio/GridNioRecoveryDescriptor.java | 13 +- .../util/nio/GridTcpCommunicationClient.java | 554 -- .../util/nio/GridTcpNioCommunicationClient.java | 8 - .../ignite/internal/visor/cache/VisorCache.java | 2 +- .../VisorCacheConfigurationCollectorJob.java | 6 +- .../internal/visor/cache/VisorCacheMetrics.java | 19 +- .../cache/VisorCacheMetricsCollectorTask.java | 10 +- .../cache/VisorCacheStoreConfiguration.java | 5 +- .../visor/node/VisorNodeDataCollectorTask.java | 9 +- .../node/VisorNodeDataCollectorTaskResult.java | 17 +- .../node/VisorNodeSuppressedErrorsTask.java | 12 +- .../internal/visor/query/VisorQueryJob.java | 13 +- .../internal/visor/query/VisorQueryTask.java | 3 +- .../visor/util/VisorExceptionWrapper.java | 81 + .../internal/visor/util/VisorTaskUtils.java | 6 +- .../ignite/mxbean/CacheMetricsMXBean.java | 80 + .../apache/ignite/plugin/PluginProvider.java | 26 +- .../org/apache/ignite/spi/IgniteSpiAdapter.java | 70 +- .../org/apache/ignite/spi/IgniteSpiContext.java | 57 +- .../ignite/spi/IgniteSpiTimeoutObject.java | 44 + .../spi/checkpoint/noop/NoopCheckpointSpi.java | 3 +- .../communication/tcp/TcpCommunicationSpi.java | 438 +- .../tcp/TcpCommunicationSpiMBean.java | 2 - .../ignite/spi/discovery/DiscoverySpi.java | 20 +- .../discovery/DiscoverySpiCustomMessage.java | 40 + .../spi/discovery/DiscoverySpiListener.java | 5 +- .../ignite/spi/discovery/tcp/ClientImpl.java | 1478 +++++ .../ignite/spi/discovery/tcp/ServerImpl.java | 4733 ++++++++++++++ .../discovery/tcp/TcpClientDiscoverySpi.java | 1264 ---- .../tcp/TcpClientDiscoverySpiMBean.java | 164 - .../spi/discovery/tcp/TcpDiscoveryImpl.java | 212 + .../spi/discovery/tcp/TcpDiscoverySpi.java | 5771 ++++-------------- .../discovery/tcp/TcpDiscoverySpiAdapter.java | 1160 ---- .../spi/discovery/tcp/TcpDiscoverySpiMBean.java | 9 + .../tcp/internal/TcpDiscoveryNode.java | 7 +- .../tcp/internal/TcpDiscoveryNodesRing.java | 2 +- .../tcp/ipfinder/TcpDiscoveryIpFinder.java | 10 +- .../TcpDiscoveryMulticastIpFinder.java | 57 +- .../messages/TcpDiscoveryAbstractMessage.java | 24 +- .../TcpDiscoveryClientHeartbeatMessage.java | 67 + .../messages/TcpDiscoveryClientPingRequest.java | 56 + .../TcpDiscoveryClientPingResponse.java | 67 + .../TcpDiscoveryCustomEventMessage.java | 41 +- .../messages/TcpDiscoveryHeartbeatMessage.java | 28 +- .../TcpDiscoveryNodeAddFinishedMessage.java | 43 + .../messages/TcpDiscoveryNodeAddedMessage.java | 2 +- .../tcp/messages/TcpDiscoveryPingRequest.java | 6 + .../tcp/messages/TcpDiscoveryPingResponse.java | 15 +- .../RoundRobinGlobalLoadBalancer.java | 2 +- .../spi/swapspace/file/FileSwapSpaceSpi.java | 8 +- .../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 +- .../ignite/GridSuppressedExceptionSelfTest.java | 4 +- .../affinity/IgniteClientNodeAffinityTest.java | 182 + ...cheStoreSessionListenerAbstractSelfTest.java | 315 + ...heStoreSessionListenerLifecycleSelfTest.java | 395 ++ .../CacheJdbcStoreSessionListenerSelfTest.java | 175 + .../ignite/internal/GridAffinitySelfTest.java | 1 + .../internal/GridDiscoveryEventSelfTest.java | 7 +- ...ridFailFastNodeFailureDetectionSelfTest.java | 7 +- .../internal/GridProjectionAbstractTest.java | 16 + .../GridProjectionForCachesSelfTest.java | 11 +- .../internal/GridReleaseTypeSelfTest.java | 77 +- .../apache/ignite/internal/GridSelfTest.java | 4 +- .../GridDiscoveryManagerAliveCacheSelfTest.java | 62 +- .../GridDiscoveryManagerAttributesSelfTest.java | 122 +- .../discovery/GridDiscoveryManagerSelfTest.java | 46 +- .../GridAffinityProcessorAbstractSelfTest.java | 1 + ...acheReadOnlyTransactionalClientSelfTest.java | 327 + .../cache/CacheRemoveAllSelfTest.java | 2 +- .../GridCacheAbstractFailoverSelfTest.java | 2 +- .../cache/GridCacheAbstractFullApiSelfTest.java | 113 + .../cache/GridCacheAbstractMetricsSelfTest.java | 48 +- .../GridCacheAbstractRemoveFailureTest.java | 23 + .../cache/GridCacheAbstractSelfTest.java | 2 +- .../GridCacheAtomicMessageCountSelfTest.java | 1 + .../GridCacheConcurrentTxMultiNodeTest.java | 8 +- ...idCacheConfigurationConsistencySelfTest.java | 14 +- .../GridCacheExAbstractFullApiSelfTest.java | 103 - .../cache/GridCacheMemoryModeSelfTest.java | 23 +- ...GridCacheMixedPartitionExchangeSelfTest.java | 2 +- ...inodeUpdateNearEnabledNoBackupsSelfTest.java | 2 +- ...CacheMultinodeUpdateNearEnabledSelfTest.java | 2 +- .../processors/cache/GridCacheOffHeapTest.java | 33 +- .../cache/GridCachePutAllFailoverSelfTest.java | 6 + .../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 | 2 +- .../IgniteCacheAbstractStopBusySelfTest.java | 6 +- .../cache/IgniteCacheAbstractTest.java | 2 +- .../IgniteCacheConfigurationTemplateTest.java | 2 +- .../IgniteCacheInterceptorSelfTestSuite.java | 2 +- .../cache/IgniteCacheInvokeReadThroughTest.java | 5 + .../cache/IgniteCacheNearLockValueSelfTest.java | 3 + .../IgniteCacheP2pUnmarshallingErrorTest.java | 29 +- ...gniteCacheP2pUnmarshallingNearErrorTest.java | 13 +- .../IgniteCachePartitionMapUpdateTest.java | 226 + .../cache/IgniteCachePeekModesAbstractTest.java | 5 +- ...gniteCacheTransactionalStopBusySelfTest.java | 5 + .../cache/IgniteDynamicCacheStartSelfTest.java | 62 + ...niteDynamicCacheWithConfigStartSelfTest.java | 97 + .../IgniteDynamicClientCacheStartSelfTest.java | 283 + .../cache/IgniteSystemCacheOnClientTest.java | 97 + .../IgniteTxMultiThreadedAbstractTest.java | 4 +- .../GridCacheQueueApiSelfAbstractTest.java | 4 +- ...dCacheQueueMultiNodeConsistencySelfTest.java | 5 + .../IgniteClientDataStructuresAbstractTest.java | 283 + .../IgniteClientDataStructuresTest.java | 28 + ...IgniteClientDiscoveryDataStructuresTest.java | 28 + .../IgniteCountDownLatchAbstractSelfTest.java | 102 + ...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 + .../GridCacheClientModesAbstractSelfTest.java | 94 +- ...ientModesTcpClientDiscoveryAbstractTest.java | 168 + .../distributed/GridCacheMixedModeSelfTest.java | 3 + ...niteCacheClientNodeChangingTopologyTest.java | 1803 ++++++ .../IgniteCacheClientNodeConcurrentStart.java | 105 + ...teCacheClientNodePartitionsExchangeTest.java | 632 ++ .../IgniteCrossCacheTxStoreSelfTest.java | 147 +- .../dht/GridCacheClientOnlySelfTest.java | 60 +- .../dht/GridCacheColocatedFailoverSelfTest.java | 5 + .../GridCacheColocatedTxExceptionSelfTest.java | 5 + .../GridCacheDhtClientRemoveFailureTest.java | 28 + ...GridCacheDhtEvictionNearReadersSelfTest.java | 11 +- .../dht/GridCacheDhtEvictionSelfTest.java | 11 +- .../GridCacheExColocatedFullApiSelfTest.java | 33 - ...ePartitionedNearDisabledMetricsSelfTest.java | 4 +- ...dCachePartitionedTopologyChangeSelfTest.java | 5 + .../dht/IgniteCacheMultiTxLockSelfTest.java | 53 +- ...cClientInvalidPartitionHandlingSelfTest.java | 29 + .../GridCacheAtomicClientRemoveFailureTest.java | 28 + ...eAtomicInvalidPartitionHandlingSelfTest.java | 23 +- ...unctionExcludeNeighborsAbstractSelfTest.java | 3 +- .../near/GridCacheAtomicNearOnlySelfTest.java | 32 - .../near/GridCacheExNearFullApiSelfTest.java | 39 - ...idCacheNearOnlyMultiNodeFullApiSelfTest.java | 2 + .../near/GridCacheNearOnlySelfTest.java | 63 +- .../near/GridCacheNearOnlyTopologySelfTest.java | 1 + .../near/GridCacheNearTxExceptionSelfTest.java | 5 + ...ionedClientOnlyNoPrimaryFullApiSelfTest.java | 5 +- .../GridCachePartitionedEvictionSelfTest.java | 11 +- .../GridCachePartitionedFailoverSelfTest.java | 5 + ...PartitionedFullApiMultithreadedSelfTest.java | 5 + .../GridCachePartitionedFullApiSelfTest.java | 32 + ...ePartitionedMultiThreadedPutGetSelfTest.java | 6 +- .../GridCachePartitionedNodeRestartTest.java | 5 + ...edOffHeapTieredMultiNodeFullApiSelfTest.java | 2 +- ...ePartitionedOptimisticTxNodeRestartTest.java | 5 + ...CachePartitionedTxMultiThreadedSelfTest.java | 5 + ...idCacheRendezvousAffinityClientSelfTest.java | 4 + .../GridCacheExReplicatedFullApiSelfTest.java | 33 - .../GridCacheReplicatedClientOnlySelfTest.java | 43 - .../GridCacheReplicatedFailoverSelfTest.java | 5 + ...eReplicatedFullApiMultithreadedSelfTest.java | 5 + .../GridCacheReplicatedInvalidateSelfTest.java | 4 +- ...ridCacheReplicatedMultiNodeLockSelfTest.java | 5 + .../GridCacheReplicatedMultiNodeSelfTest.java | 5 + .../GridCacheReplicatedNearOnlySelfTest.java | 43 - .../GridCacheReplicatedNodeRestartSelfTest.java | 5 + .../GridCacheReplicatedTxExceptionSelfTest.java | 5 + .../GridCacheSyncReplicatedPreloadSelfTest.java | 1 - .../replicated/GridReplicatedTxPreloadTest.java | 2 + ...acheAtomicReplicatedNodeRestartSelfTest.java | 5 + .../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 | 6 + .../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 +- ...CacheLocalOffHeapAndSwapMetricsSelfTest.java | 412 ++ .../local/GridCacheExLocalFullApiSelfTest.java | 30 - ...dCacheLocalFullApiMultithreadedSelfTest.java | 5 + .../GridCacheLocalTxExceptionSelfTest.java | 5 + ...ridCacheContinuousQueryAbstractSelfTest.java | 6 +- .../continuous/GridEventConsumeSelfTest.java | 96 +- .../DataStreamProcessorSelfTest.java | 1 + .../DataStreamerMultiThreadedSelfTest.java | 59 +- .../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 | 16 +- .../service/GridServiceClientNodeTest.java | 81 + .../nio/GridNioDelimitedBufferSelfTest.java | 112 + .../util/nio/GridNioDelimitedBufferTest.java | 112 - .../internal/util/nio/GridNioSelfTest.java | 2 +- .../unsafe/GridUnsafeMemorySelfTest.java | 4 +- .../loadtests/GridCacheMultiNodeLoadTest.java | 5 +- .../GridCachePartitionedAtomicLongLoadTest.java | 6 +- .../loadtests/hashmap/GridCacheTestContext.java | 4 +- .../swap/GridSwapEvictAllBenchmark.java | 6 +- .../OptimizedMarshallerNodeFailoverTest.java | 4 +- ...GridMessagingNoPeerClassLoadingSelfTest.java | 7 +- .../ignite/messaging/GridMessagingSelfTest.java | 13 +- .../IgniteMessagingWithClientTest.java | 166 + .../GridTcpCommunicationSpiAbstractTest.java | 4 +- ...mmunicationSpiConcurrentConnectSelfTest.java | 2 +- .../GridTcpCommunicationSpiConfigSelfTest.java | 2 - ...cpCommunicationSpiMultithreadedSelfTest.java | 2 +- .../discovery/AbstractDiscoverySelfTest.java | 21 +- ...pClientDiscoveryMarshallerCheckSelfTest.java | 76 + .../tcp/TcpClientDiscoverySelfTest.java | 700 --- .../tcp/TcpClientDiscoverySpiMulticastTest.java | 129 + .../tcp/TcpClientDiscoverySpiSelfTest.java | 1196 ++++ .../tcp/TcpDiscoveryConcurrentStartTest.java | 61 +- .../tcp/TcpDiscoveryMultiThreadedTest.java | 18 +- .../spi/discovery/tcp/TcpDiscoverySelfTest.java | 2 +- .../stream/socket/SocketStreamerSelfTest.java | 29 +- .../testframework/GridSpiTestContext.java | 35 +- .../ignite/testframework/GridTestUtils.java | 17 +- .../testframework/junits/GridAbstractTest.java | 52 +- .../junits/cache/TestCacheSession.java | 18 + .../cache/TestThreadLocalCacheSession.java | 15 + .../junits/common/GridCommonAbstractTest.java | 83 +- .../ignite/testsuites/IgniteBasicTestSuite.java | 4 +- .../IgniteCacheDataStructuresSelfTestSuite.java | 27 +- .../IgniteCacheEvictionSelfTestSuite.java | 17 +- .../IgniteCacheFailoverTestSuite.java | 10 +- .../IgniteCacheFullApiSelfTestSuite.java | 14 +- .../IgniteCacheMetricsSelfTestSuite.java | 1 + .../IgniteCacheNearOnlySelfTestSuite.java | 16 +- ...gniteCacheP2pUnmarshallingErrorTestSuit.java | 41 - ...niteCacheP2pUnmarshallingErrorTestSuite.java | 41 + .../testsuites/IgniteCacheRestartTestSuite.java | 10 +- .../IgniteCacheTcpClientDiscoveryTestSuite.java | 47 + .../ignite/testsuites/IgniteCacheTestSuite.java | 21 +- .../testsuites/IgniteCacheTestSuite2.java | 15 +- .../testsuites/IgniteCacheTestSuite3.java | 14 +- .../testsuites/IgniteCacheTestSuite4.java | 18 +- .../testsuites/IgniteKernalSelfTestSuite.java | 7 +- .../IgniteSpiDiscoverySelfTestSuite.java | 4 +- .../testsuites/IgniteStreamSelfTestSuite.java | 39 + .../testsuites/IgniteStreamTestSuite.java | 39 - .../testsuites/IgniteUtilSelfTestSuite.java | 2 +- .../apache/ignite/util/GridRandomSelfTest.java | 4 +- .../gce/TcpDiscoveryGoogleStorageIpFinder.java | 43 +- .../fs/IgniteHadoopFileSystemCounterWriter.java | 14 +- .../fs/IgniteHadoopIgfsSecondaryFileSystem.java | 165 +- .../hadoop/fs/v1/IgniteHadoopFileSystem.java | 137 +- .../hadoop/fs/v2/IgniteHadoopFileSystem.java | 32 +- .../processors/hadoop/HadoopDefaultJobInfo.java | 2 +- .../internal/processors/hadoop/HadoopUtils.java | 288 +- .../hadoop/SecondaryFileSystemProvider.java | 57 +- .../hadoop/fs/HadoopDistributedFileSystem.java | 91 - .../hadoop/fs/HadoopFileSystemsUtils.java | 17 - .../hadoop/fs/HadoopLazyConcurrentMap.java | 204 + .../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/taskexecutor/HadoopRunnableTask.java | 20 +- .../processors/hadoop/v2/HadoopV2Job.java | 31 +- .../hadoop/v2/HadoopV2JobResourceManager.java | 26 +- .../hadoop/v2/HadoopV2TaskContext.java | 52 +- .../hadoop/HadoopClientProtocolSelfTest.java | 6 +- .../HadoopIgfs20FileSystemAbstractSelfTest.java | 60 +- ...oopSecondaryFileSystemConfigurationTest.java | 4 +- .../igfs/IgfsNearOnlyMultiNodeSelfTest.java | 5 +- .../IgniteHadoopFileSystemAbstractSelfTest.java | 65 +- .../IgniteHadoopFileSystemClientSelfTest.java | 2 +- .../IgniteHadoopFileSystemIpcCacheSelfTest.java | 2 + .../hadoop/HadoopAbstractSelfTest.java | 14 +- .../hadoop/HadoopCommandLineTest.java | 14 +- .../hadoop/HadoopFileSystemsTest.java | 23 +- .../processors/hadoop/HadoopMapReduceTest.java | 183 +- .../hadoop/HadoopTaskExecutionSelfTest.java | 2 +- .../hadoop/HadoopTasksAllVersionsTest.java | 15 +- .../processors/hadoop/HadoopTasksV1Test.java | 5 +- .../processors/hadoop/HadoopTasksV2Test.java | 5 +- .../processors/hadoop/HadoopV2JobSelfTest.java | 6 +- .../collections/HadoopAbstractMapTest.java | 12 + .../collections/HadoopHashMapSelfTest.java | 4 +- .../collections/HadoopSkipListSelfTest.java | 4 +- .../HadoopExternalTaskExecutionSelfTest.java | 2 + .../HadoopExternalCommunicationSelfTest.java | 5 + .../testsuites/IgniteHadoopTestSuite.java | 7 +- .../CacheHibernateStoreSessionListener.java | 216 + .../hibernate/HibernateL2CacheSelfTest.java | 5 + .../HibernateL2CacheTransactionalSelfTest.java | 5 + ...heHibernateStoreSessionListenerSelfTest.java | 228 + .../testsuites/IgniteHibernateTestSuite.java | 6 +- .../cache/GridCacheCrossCacheQuerySelfTest.java | 8 +- .../GridCacheOffheapIndexEntryEvictTest.java | 200 + .../cache/GridCacheOffheapIndexGetSelfTest.java | 80 +- .../cache/GridCacheQueryMetricsSelfTest.java | 84 +- .../cache/GridIndexingWithNoopSwapSelfTest.java | 6 +- .../cache/IgniteCacheAbstractQuerySelfTest.java | 6 +- ...acheConfigurationPrimitiveTypesSelfTest.java | 104 + ...niteCacheP2pUnmarshallingQueryErrorTest.java | 3 +- ...QueryMultiThreadedOffHeapTieredSelfTest.java | 37 + ...eQueryMultiThreadedOffHeapTiredSelfTest.java | 37 - .../IgniteCacheQueryMultiThreadedSelfTest.java | 11 +- .../IgniteCacheQueryNodeRestartSelfTest.java | 5 + .../cache/ttl/CacheTtlAbstractSelfTest.java | 6 +- .../h2/GridIndexingSpiAbstractSelfTest.java | 4 +- .../query/h2/sql/BaseH2CompareQueryTest.java | 4 +- .../IgniteCacheQuerySelfTestSuite.java | 6 +- .../IgniteCacheWithIndexingTestSuite.java | 3 + modules/mesos/pom.xml | 8 +- modules/spring/pom.xml | 14 + .../spring/CacheSpringStoreSessionListener.java | 207 + ...CacheSpringStoreSessionListenerSelfTest.java | 197 + .../testsuites/IgniteSpringTestSuite.java | 3 + .../commands/cache/VisorCacheScanCommand.scala | 2 +- .../IgniteWebSessionSelfTestSuite.java | 2 +- scripts/git-apply-patch.sh | 8 +- scripts/git-format-patch.sh | 16 +- scripts/git-patch-functions.sh | 36 +- 522 files changed, 31542 insertions(+), 17474 deletions(-) ----------------------------------------------------------------------