public NetworkHealthCheck(String nicName, long checkPeriod, int networkTimeout) { super(null, null, checkPeriod, TimeUnit.MILLISECONDS, false); this.networkTimeout = networkTimeout; this.setNICName(nicName); }
public NetworkHealthCheck(String nicName, long checkPeriod, int networkTimeout) { super(null, null, checkPeriod, TimeUnit.MILLISECONDS, false); this.networkTimeout = networkTimeout; this.setNICName(nicName); }
public NetworkHealthCheck(String nicName, long checkPeriod, int networkTimeout) { super(null, null, checkPeriod, TimeUnit.MILLISECONDS, false); this.networkTimeout = networkTimeout; this.setNICName(nicName); }
public NetworkHealthCheck(String nicName, long checkPeriod, int networkTimeout) { super(null, null, checkPeriod, TimeUnit.MILLISECONDS, false); this.networkTimeout = networkTimeout; this.setNICName(nicName); }
public NetworkHealthCheck(String nicName, long checkPeriod, int networkTimeout) { super(null, null, checkPeriod, TimeUnit.MILLISECONDS, false); this.networkTimeout = networkTimeout; this.setNICName(nicName); }
public NetworkHealthCheck(String nicName, long checkPeriod, int networkTimeout) { super(null, null, checkPeriod, TimeUnit.MILLISECONDS, false); this.networkTimeout = networkTimeout; this.setNICName(nicName); }
public NetworkHealthCheck(String nicName, long checkPeriod, int networkTimeout) { super(null, null, checkPeriod, TimeUnit.MILLISECONDS, false); this.networkTimeout = networkTimeout; this.setNICName(nicName); }
@Override public final synchronized void start() throws Exception { SERVER_STATE originalState = state; try { internalStart(); } catch (Throwable t) { ActiveMQServerLogger.LOGGER.failedToStartServer(t); } finally { if (originalState == SERVER_STATE.STOPPED) { networkHealthCheck.setTimeUnit(TimeUnit.MILLISECONDS).setPeriod(configuration.getNetworkCheckPeriod()). setNetworkTimeout(configuration.getNetworkCheckTimeout()). parseAddressList(configuration.getNetworkCheckList()). parseURIList(configuration.getNetworkCheckURLList()). setNICName(configuration.getNetworkCheckNIC()). setIpv4Command(configuration.getNetworkCheckPingCommand()). setIpv6Command(configuration.getNetworkCheckPing6Command()); networkHealthCheck.addComponent(networkCheckMonitor); } } }