CURATOR-549
authorrandgalt <randgalt@apache.org>
Fri, 20 Mar 2020 19:48:18 +0000 (14:48 -0500)
committerJordan Zimmerman <jordan@jordanzimmerman.com>
Thu, 9 Apr 2020 12:17:55 +0000 (07:17 -0500)
commitb29bb010ada7f17626438b828de1f9e122e5d7bf
tree4ed74d5c30155e3889539ac32ed9cb7336758712
parent844c0ad36340b695b2784489c078cfd78522143c
CURATOR-549

Creates a simple bridge that, when using ZK 3.6.0 creates a CuratorCache, and for earlier versions creates a TreeCache. The curator-test-zk35 module ensures that both code paths are tested.
28 files changed:
curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/CompatibleCuratorCacheBridge.java [new file with mode: 0644]
curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/CuratorCache.java
curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/CuratorCacheBridge.java [new file with mode: 0644]
curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/CuratorCacheBridgeBuilder.java [new file with mode: 0644]
curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/CuratorCacheBridgeBuilderImpl.java [new file with mode: 0644]
curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/CuratorCacheImpl.java
curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/CuratorCacheStorage.java
curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/TreeCacheListenerWrapper.java
curator-recipes/src/main/java/org/apache/curator/framework/recipes/nodes/GroupMember.java
curator-recipes/src/test/java/org/apache/curator/framework/recipes/cache/TestCuratorCacheBridge.java [new file with mode: 0644]
curator-recipes/src/test/java/org/apache/curator/framework/recipes/nodes/TestGroupMember.java
curator-x-async/src/main/java/org/apache/curator/x/async/modeled/details/ModeledCacheImpl.java
curator-x-async/src/test/java/org/apache/curator/x/async/modeled/TestCachedModeledFramework.java
curator-x-discovery/src/main/java/org/apache/curator/x/discovery/ServiceCache.java
curator-x-discovery/src/main/java/org/apache/curator/x/discovery/ServiceCacheBuilder.java
curator-x-discovery/src/main/java/org/apache/curator/x/discovery/ServiceProviderBuilder.java
curator-x-discovery/src/main/java/org/apache/curator/x/discovery/details/ServiceCacheBuilderImpl.java
curator-x-discovery/src/main/java/org/apache/curator/x/discovery/details/ServiceCacheImpl.java
curator-x-discovery/src/main/java/org/apache/curator/x/discovery/details/ServiceDiscoveryImpl.java
curator-x-discovery/src/main/java/org/apache/curator/x/discovery/details/ServiceProviderBuilderImpl.java
curator-x-discovery/src/main/java/org/apache/curator/x/discovery/details/ServiceProviderImpl.java
curator-x-discovery/src/test/java/org/apache/curator/x/discovery/ServiceCacheLeakTester.java
curator-x-discovery/src/test/java/org/apache/curator/x/discovery/TestServiceCache.java
curator-x-discovery/src/test/java/org/apache/curator/x/discovery/details/TestServiceCacheRace.java
curator-x-discovery/src/test/java/org/apache/curator/x/discovery/details/TestServiceDiscovery.java
curator-x-discovery/src/test/java/org/apache/curator/x/discovery/details/TestServiceDiscoveryBuilder.java
curator-x-discovery/src/test/java/org/apache/curator/x/discovery/details/TestServiceProvider.java
src/site/confluence/breaking-changes.confluence