core/src/main/java/org/mobicents/ha/javax/sip/LoadBalancerHeartBeatingServiceImpl.java
public void setHeartBeatInterval(long heartBeatInterval) {
		if (heartBeatInterval < 100)
			return;
		
		if(logger.isLoggingEnabled(StackLogger.TRACE_DEBUG)) {
			logger.logDebug("Setting HeartBeatInterval from " + this.heartBeatInterval + " to " + heartBeatInterval);
		}
		
		this.heartBeatInterval = heartBeatInterval;
		if(sipNodes.isEmpty()) {
			logger.logInfo("Computing SIP Nodes to be sent to the LB");
			updateConnectorsAsSIPNode();
		}
		this.hearBeatTaskToRun.cancel();
		this.hearBeatTaskToRun = new BalancerPingTimerTask();
		this.heartBeatTimer.scheduleAtFixedRate(this.hearBeatTaskToRun, 0,
				this.heartBeatInterval);

	}
public void setHeartBeatInterval(long heartBeatInterval) {
		if (heartBeatInterval < 100)
			return;
		
		if(logger.isLoggingEnabled(StackLogger.TRACE_DEBUG)) {
			logger.logDebug("Setting HeartBeatInterval from " + this.heartBeatInterval + " to " + heartBeatInterval);
		}
		
		this.heartBeatInterval = heartBeatInterval;
		if(sipNodes.isEmpty()) {
			logger.logInfo("Computing SIP Nodes to be sent to the LB");
			updateConnectorsAsSIPNode();
		}
		this.hearBeatTaskToRun.cancel();
		this.hearBeatTaskToRun = new BalancerPingTimerTask();
		this.heartBeatTimer.scheduleAtFixedRate(this.hearBeatTaskToRun, 0,
				this.heartBeatInterval);

	}
public void setHeartBeatInterval ( long heartBeatInterval ) { if ( heartBeatInterval < 100 ) return ; if ( logger . isLoggingEnabled ( StackLogger . TRACE_DEBUG ) ) { logger . logDebug ( "Setting HeartBeatInterval from " + this . heartBeatInterval + " to " + heartBeatInterval ) ; } this . heartBeatInterval = heartBeatInterval ; if ( sipNodes . isEmpty ( ) ) { logger . logInfo ( "Computing SIP Nodes to be sent to the LB" ) ; updateConnectorsAsSIPNode ( ) ; } this . hearBeatTaskToRun . cancel ( ) ; this . hearBeatTaskToRun = new BalancerPingTimerTask ( ) ; this . heartBeatTimer . scheduleAtFixedRate ( this . hearBeatTaskToRun , 0 , this . heartBeatInterval ) ; }
{@inheritDoc}
{