public boolean isInJVM() {
        return inJVM;
    }
Sets connectionNum.

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