[infinispan-issues] [JBoss JIRA] (ISPN-7823) RemoteCacheManager can block waiting to connect/ping
Ryan Emerson (JIRA)
issues at jboss.org
Mon May 22 07:59:01 EDT 2017
[ https://issues.jboss.org/browse/ISPN-7823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ryan Emerson resolved ISPN-7823.
--------------------------------
Fix Version/s: 9.1.0.Alpha1
Resolution: Done
> RemoteCacheManager can block waiting to connect/ping
> ----------------------------------------------------
>
> Key: ISPN-7823
> URL: https://issues.jboss.org/browse/ISPN-7823
> Project: Infinispan
> Issue Type: Enhancement
> Components: Remote Protocols
> Affects Versions: 8.2.6.Final, 9.0.0.Final
> Reporter: Galder Zamarreño
> Assignee: Katia Aresti
> Fix For: 9.1.0.Alpha1
>
>
> When running Java Hot Rod client on top sensitive environments to blocking, e.g. Vert.x, you realise that the RemoteCacheManager constructor blocks.
> This is due to the fact that RCM constructor waits to establish connections with the initial servers and sends pings on startup.
> You can avoid RCM doing this by passing start=false as parameter and then calling start() manually, but start() is a blocking method.
> So, we should have an alternative start() method that returns a CompletableFuture, hence avoiding any blocking.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the infinispan-issues
mailing list