You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by kw...@apache.org on 2016/02/25 15:14:09 UTC
svn commit: r1732309 -
/qpid/java/trunk/bdbstore/src/main/java/org/apache/qpid/server/virtualhostnode/berkeleydb/BDBHAVirtualHostNodeImpl.java
Author: kwall
Date: Thu Feb 25 14:14:09 2016
New Revision: 1732309
URL: http://svn.apache.org/viewvc?rev=1732309&view=rev
Log:
QPID-7097: [Java Broker] Stopping making explicit calls to childRemove when BDBHAVH moves between master/replica etc
* childRemove used to be abused to tell JMX to unregister the BDBHAMBean, the MBean is now gone, so this can be removed.
Modified:
qpid/java/trunk/bdbstore/src/main/java/org/apache/qpid/server/virtualhostnode/berkeleydb/BDBHAVirtualHostNodeImpl.java
Modified: qpid/java/trunk/bdbstore/src/main/java/org/apache/qpid/server/virtualhostnode/berkeleydb/BDBHAVirtualHostNodeImpl.java
URL: http://svn.apache.org/viewvc/qpid/java/trunk/bdbstore/src/main/java/org/apache/qpid/server/virtualhostnode/berkeleydb/BDBHAVirtualHostNodeImpl.java?rev=1732309&r1=1732308&r2=1732309&view=diff
==============================================================================
--- qpid/java/trunk/bdbstore/src/main/java/org/apache/qpid/server/virtualhostnode/berkeleydb/BDBHAVirtualHostNodeImpl.java (original)
+++ qpid/java/trunk/bdbstore/src/main/java/org/apache/qpid/server/virtualhostnode/berkeleydb/BDBHAVirtualHostNodeImpl.java Thu Feb 25 14:14:09 2016
@@ -731,17 +731,9 @@ public class BDBHAVirtualHostNodeImpl ex
protected ListenableFuture<Void> closeVirtualHostIfExist()
{
final VirtualHost<?> virtualHost = getVirtualHost();
- if (virtualHost!= null)
+ if (virtualHost != null)
{
- return doAfter(virtualHost.closeAsync(), new Runnable()
- {
- @Override
- public void run()
- {
- childRemoved(virtualHost);
-
- }
- });
+ return virtualHost.closeAsync();
}
else
{
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org