qbit/admin/src/main/java/io/advantageous/qbit/metrics/ClusteredStatReplicator.java
@Override
    public void servicePoolChanged(final String serviceName) {
        if (this.serviceName.equals(serviceName)) {
            logger.info("ClusteredStatReplicator::servicePoolChanged({})", serviceName);
            updateServicePool(serviceName);
        } else if (debug) {
            logger.debug("ClusteredStatReplicator::servicePoolChanged({})",
                    "got event for another service", serviceName);
        }
    }
@Override
    public void servicePoolChanged(final String serviceName) {
        if (this.serviceName.equals(serviceName)) {
            logger.info("ClusteredStatReplicator::servicePoolChanged({})", serviceName);
            updateServicePool(serviceName);
        } else if (debug) {
            logger.debug("ClusteredStatReplicator::servicePoolChanged({})",
                    "got event for another service", serviceName);
        }
    }
@ Override public void servicePoolChanged ( final String serviceName ) { if ( this . serviceName . equals ( serviceName ) ) { logger . info ( "ClusteredStatReplicator::servicePoolChanged({})" , serviceName ) ; updateServicePool ( serviceName ) ; } else if ( debug ) { logger . debug ( "ClusteredStatReplicator::servicePoolChanged({})" , "got event for another service" , serviceName ) ; } }
Event handler

@param serviceName service name
Event handler