public int getHeartbeatPeriod() {
        return heartbeatPeriod;
    }
Sets heartbeatPeriod.

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