public ConsumerConfig<T> setHeartbeatPeriod(int heartbeatPeriod) {
        this.heartbeatPeriod = heartbeatPeriod;
        return this;
    }
Sets rejected execution policy.

@param rejectedExecutionPolicy the rejected execution policy 
@return the rejected execution policy
core/api/src/main/java/com/alipay/sofa/rpc/config/ConsumerConfig.java