/** * Returns true if outbound client throttling is enabled. * * @return True if the outbound client throttling is enabled. */ public boolean isOutboundClientThrottleEnabled() { return outPolicy != Policy.NONE && getOutgoingClientFrequency() > 0; }
/** * Returns true if outbound client throttling is enabled. * * @return True if the outbound client throttling is enabled. */ public boolean isOutboundClientThrottleEnabled() { return outPolicy != Policy.NONE && getOutgoingClientFrequency() > 0; }
/** * Returns whether client throttling is enabled. * * @return <code>true</code> if the incoming client frequency or outgoing * client frequency is greater than zero; otherwise <code>false</code>. */ public boolean isClientThrottleEnabled() { if (getIncomingClientFrequency() > 0 || getOutgoingClientFrequency() > 0) { return true; } return false; }
try clientLevelMark.assertValid(msg.getTimestamp(), settings.getOutgoingClientFrequency());
throttleManager.registerDestination(destinationId, ts.getOutgoingClientFrequency(), ts.getOutboundPolicy());
throttleManager.registerDestination(destinationId, ts.getOutgoingClientFrequency(), ts.getOutboundPolicy());