public ConsumerConfig<T> setOnReturn(SofaResponseCallback onReturn) {
        this.onReturn = onReturn;
        return this;
    }
Sets on available.

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