public int getBatchSize() {
        return batchSize;
    }
Sets batch check.

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