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 2020/04/02 14:45:33 UTC
[ignite] branch master updated (7d55653 -> a8b4efc)
This is an automated email from the ASF dual-hosted git repository.
ptupitsyn pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/ignite.git.
from 7d55653 IGNITE-12818 SoLinger should be used for all sockets in discovery - Fixes #7557.
add a8b4efc IGNITE-12691 .NET: Add native Near Cache
No new revisions were added by this update.
Summary of changes:
.../ignite/configuration/CacheConfiguration.java | 34 +
.../PlatformNearCacheConfiguration.java | 113 ++
.../processors/cache/GridCacheContext.java | 5 +-
.../processors/cache/GridCacheMapEntry.java | 54 +
.../processors/cache/GridCacheProcessor.java | 9 +-
.../cache/distributed/dht/GridDhtCacheEntry.java | 2 +
.../cache/distributed/near/GridNearCacheEntry.java | 10 +
.../cache/query/GridCacheQueryManager.java | 6 +-
.../processors/platform/PlatformContext.java | 29 +
.../processors/platform/PlatformContextImpl.java | 78 +-
.../processors/platform/PlatformNoopProcessor.java | 16 +
.../processors/platform/PlatformProcessor.java | 22 +
.../processors/platform/PlatformProcessorImpl.java | 63 +-
.../processors/platform/cache/PlatformCache.java | 14 +
.../platform/cache/PlatformCacheEntryFilter.java | 9 +
.../cache/PlatformCacheEntryFilterImpl.java | 67 +-
.../platform/cache/PlatformCacheManager.java | 86 ++
.../platform/cache/affinity/PlatformAffinity.java | 30 +
.../platform/callback/PlatformCallbackGateway.java | 74 ++
.../platform/callback/PlatformCallbackOp.java | 12 +
.../platform/utils/PlatformConfigurationUtils.java | 28 +
.../processors/platform/utils/PlatformUtils.java | 2 +-
.../loadtests/hashmap/GridCacheTestContext.java | 3 +-
.../ignite/platform/PlatformThreadUtils.java | 51 +
.../Apache.Ignite.Benchmarks.csproj | 3 +
.../Apache.Ignite.Benchmarks/BenchmarkRunner.cs | 17 +-
.../Apache.Ignite.Benchmarks/Config/benchmark.xml | 23 +
.../Interop/GetNearBenchmark.cs | 64 +
.../Interop/PutNearBenchmark.cs | 59 +
.../Interop/ScanQueryBenchmark.cs | 86 ++
.../Apache.Ignite.Core.Tests.DotNetCore.csproj | 41 +
.../Apache.Ignite.Core.Tests.csproj | 10 +-
.../Cache/CacheNearTest.cs | 200 ---
.../Cache/CacheTestAsyncWrapper.cs | 2 +-
.../Cache/Near/CacheNearCreateDestroy.cs | 348 +++++
.../Cache/Near/CacheNearTest.cs | 1371 ++++++++++++++++++++
.../Cache/Near/CacheNearTopologyChangeTest.cs | 614 +++++++++
.../Cache/Near/FailingCacheStore.cs | 72 +
.../Apache.Ignite.Core.Tests/Cache/Near/Foo.cs | 66 +
.../Cache/Near/ScanQueryNearCacheFilter.cs} | 33 +-
.../Cache/Near/ScanQueryNoNearCacheFilter.cs} | 36 +-
.../Cache/Near/StoreNoNearCacheFilter.cs} | 32 +-
.../Cache/Store/CacheStoreTest.cs | 3 +-
.../Client/Cache/ListLogger.cs | 19 +-
.../Config/full-config.xml | 1 +
.../IgniteConfigurationSerializerTest.cs | 11 +
.../Apache.Ignite.Core.Tests/IgniteUtilsTest.cs | 71 +
.../Apache.Ignite.Core.Tests/TestUtils.Common.cs | 49 +-
.../Apache.Ignite.Core/Apache.Ignite.Core.csproj | 5 +
.../Apache.Ignite.Core/Cache/CachePeekMode.cs | 9 +-
.../Cache/Configuration/CacheConfiguration.cs | 31 +
.../PlatformNearCacheConfiguration.cs | 72 +
.../Cache/Eviction/FifoEvictionPolicy.cs | 2 +-
.../Cache/Store/CacheStoreAdapter.cs | 2 +-
.../Apache.Ignite.Core/Events/DiscoveryEvent.cs | 2 +-
.../platforms/dotnet/Apache.Ignite.Core/IIgnite.cs | 53 +
.../IgniteConfigurationSection.xsd | 22 +
.../Impl/Cache/CacheAffinityImpl.cs | 18 +-
.../Impl/Cache/CacheEntryFilterHolder.cs | 40 +-
.../Apache.Ignite.Core/Impl/Cache/CacheImpl.cs | 474 ++++++-
.../Apache.Ignite.Core/Impl/Cache/CacheOp.cs | 3 +-
.../Impl/Cache/Near/INearCache.cs | 82 ++
.../Impl/Cache/Near/NearCache.cs | 275 ++++
.../Impl/Cache/Near/NearCacheEntry.cs | 85 ++
.../Impl/Cache/Near/NearCacheManager.cs | 198 +++
.../Impl/Cache/Query/QueryCursor.cs | 2 +-
.../Impl/Cache/Query/QueryCursorBase.cs | 2 +-
.../Impl/Client/Cache/ClientCachePartitionMap.cs | 14 +-
.../Impl/Client/ClientFailoverSocket.cs | 8 +-
.../Impl/Client/Cluster/ClientClusterGroup.cs | 3 +-
.../Apache.Ignite.Core/Impl/Client/IgniteClient.cs | 26 +
.../Impl/Common/CopyOnWriteConcurrentDictionary.cs | 24 +
.../Apache.Ignite.Core/Impl/Common/TaskRunner.cs | 22 +-
.../Apache.Ignite.Core/Impl/IIgniteInternal.cs | 30 +-
.../Impl/IPlatformTargetInternal.cs | 2 +-
.../dotnet/Apache.Ignite.Core/Impl/Ignite.cs | 112 +-
.../dotnet/Apache.Ignite.Core/Impl/IgniteUtils.cs | 12 +-
.../Apache.Ignite.Core/Impl/PlatformJniTarget.cs | 10 +-
.../Impl/PlatformTargetAdapter.cs | 53 +-
.../Impl/Unmanaged/UnmanagedCallbackOp.cs | 6 +-
.../Impl/Unmanaged/UnmanagedCallbacks.cs | 61 +-
modules/platforms/dotnet/Apache.Ignite.sln | 1 -
.../platforms/dotnet/Apache.Ignite.sln.DotSettings | 1 +
.../Datagrid/NearCacheExample.cs | 10 +-
84 files changed, 5458 insertions(+), 362 deletions(-)
create mode 100644 modules/core/src/main/java/org/apache/ignite/configuration/PlatformNearCacheConfiguration.java
create mode 100644 modules/core/src/main/java/org/apache/ignite/internal/processors/platform/cache/PlatformCacheManager.java
create mode 100644 modules/core/src/test/java/org/apache/ignite/platform/PlatformThreadUtils.java
create mode 100644 modules/platforms/dotnet/Apache.Ignite.Benchmarks/Interop/GetNearBenchmark.cs
create mode 100644 modules/platforms/dotnet/Apache.Ignite.Benchmarks/Interop/PutNearBenchmark.cs
create mode 100644 modules/platforms/dotnet/Apache.Ignite.Benchmarks/Interop/ScanQueryBenchmark.cs
delete mode 100644 modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/CacheNearTest.cs
create mode 100644 modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/Near/CacheNearCreateDestroy.cs
create mode 100644 modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/Near/CacheNearTest.cs
create mode 100644 modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/Near/CacheNearTopologyChangeTest.cs
create mode 100644 modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/Near/FailingCacheStore.cs
create mode 100644 modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/Near/Foo.cs
copy modules/platforms/dotnet/{Apache.Ignite.Core/Impl/Cache/Query/QueryCursor.cs => Apache.Ignite.Core.Tests/Cache/Near/ScanQueryNearCacheFilter.cs} (57%)
copy modules/platforms/dotnet/{Apache.Ignite.Core/Impl/Cache/Query/QueryCursor.cs => Apache.Ignite.Core.Tests/Cache/Near/ScanQueryNoNearCacheFilter.cs} (54%)
copy modules/platforms/dotnet/{Apache.Ignite.Core/Impl/Cache/Query/QueryCursor.cs => Apache.Ignite.Core.Tests/Cache/Near/StoreNoNearCacheFilter.cs} (52%)
create mode 100644 modules/platforms/dotnet/Apache.Ignite.Core.Tests/IgniteUtilsTest.cs
create mode 100644 modules/platforms/dotnet/Apache.Ignite.Core/Cache/Configuration/PlatformNearCacheConfiguration.cs
create mode 100644 modules/platforms/dotnet/Apache.Ignite.Core/Impl/Cache/Near/INearCache.cs
create mode 100644 modules/platforms/dotnet/Apache.Ignite.Core/Impl/Cache/Near/NearCache.cs
create mode 100644 modules/platforms/dotnet/Apache.Ignite.Core/Impl/Cache/Near/NearCacheEntry.cs
create mode 100644 modules/platforms/dotnet/Apache.Ignite.Core/Impl/Cache/Near/NearCacheManager.cs