Toggle navigation
Home
io.atomix.core.set.DistributedTreeSet to io.atomix.core.set.DistributedSortedSet
No. of Instances - 5
No. of Commits - 1
No. of Projects - {'atomix'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Internal -> Internal
Mapping:
Rename Variable
getTreeSet
to
getSortedSet
getTreeSet
to
getSortedSet
Cascading Type Change (Different)
GossipDistributedTreeSet<>
to
GossipDistributedSortedSet<>
UnmodifiableAsyncDistributedTreeSet<>
to
UnmodifiableAsyncDistributedNavigableSet<>
Add or Remove Method invocation
managementService.getPrimitiveCache().getPrimitive(name,() -> CompletableFuture.completedFuture(((TreeSetProtocolProvider)protocol).<E>newTreeSetProtocol(name,managementService)).thenApply(set -> new GossipDistributedSortedSet<>(name,protocol,set)))
to
managementService.getPrimitiveCache().getPrimitive(name,() -> CompletableFuture.completedFuture(((SortedSetProtocolProvider)protocol).<E>newSortedSetProtocol(name,managementService)).thenApply(set -> new GossipDistributedSortedSet<>(name,protocol,set)))
newProxy(DistributedTreeSetService.class,new ServiceConfig()).thenCompose(proxy -> new DistributedTreeSetProxy<E>((ProxyClient)proxy,managementService.getPrimitiveRegistry()).connect())
to
newProxy(DistributedTreeSetService.class,new ServiceConfig()).thenCompose(proxy -> new DistributedNavigableSetProxy<E>((ProxyClient)proxy,managementService.getPrimitiveRegistry()).connect())
Update Class Instacne Creation
new CachingAsyncDistributedTreeSet<>(set,config.getCacheConfig())
to
new CachingAsyncDistributedNavigableSet<>(set,config.getCacheConfig())