public boolean isCheck() {
        return check;
    }
Sets heartbeatPeriod.

@param heartbeatPeriod the heartbeatPeriod
@return the heartbeatPeriod
core/api/src/main/java/com/alipay/sofa/rpc/config/ConsumerConfig.java