*/
private boolean determineSendThrottling(Method method) {
boolean ret_send_throttled = m_proxyHandlerSendThrottled;
if (!m_proxyHandlerIgnoreAnnotations) {
DisableSendThrottling annotation = method.getAnnotation(DisableSendThrottling.class);
if (annotation == null) {
annotation = method.getDeclaringClass().getAnnotation(DisableSendThrottling.class);
}
if (annotation != null) {
ret_send_throttled = !annotation.value();
}
}
return ret_send_throttled;
}