事务 概述 Transactions are atomic units of work that can be committed or rolled back . When a transaction makes multiple changes to the database, either a ...
分类:
数据库 时间:
2020-05-07 01:00:08
阅读次数:
70
yls 2020/5/5 创建配置管理中心 "参考文档" 1.添加依赖包 2.在启动类上添加注解 3.创建配置文件 4.在仓库的respo目录下添加配置文件,一般在本地创建好再上传到仓库 注意文件的名称不是乱起的,例如 config single client dev.yml 和 config si ...
分类:
编程语言 时间:
2020-05-05 19:52:18
阅读次数:
85
1 package com.bawei.stream 2 3 import org.apache.spark.streaming.dstream.{DStream, ReceiverInputDStream} 4 import org.apache.spark.streaming.{Seconds, ...
分类:
其他好文 时间:
2020-05-05 18:01:51
阅读次数:
55
1 package com.bawei.stream 2 3 import org.apache.kafka.clients.consumer.ConsumerRecord 4 import org.apache.kafka.common.serialization.StringDeserializ ...
分类:
其他好文 时间:
2020-05-05 17:51:00
阅读次数:
59
The shape peak replenishes both Bc and Be tokens every Tc seconds, and allows for sending at higher sustained rate that depends both on the size of Bc ...
分类:
其他好文 时间:
2020-05-04 21:09:01
阅读次数:
71
Describe 一个长度为n的大数,用S1S2S3...Sn表示,其中Si表示数的第i位,S1是数的最高位,告诉你一些限制条件,每个条 件表示为四个数,l1,r1,l2,r2,即两个长度相同的区间,表示子串Sl1Sl1+1Sl1+2...Sr1与Sl2Sl2+1Sl2+2...S r2完全相同。比 ...
分类:
其他好文 时间:
2020-05-04 19:23:11
阅读次数:
66
JAVA基础 java反射 class对象 三种方式获取class加载时对象 1.class.forName("全类名"):将字节码文件加载进内存,返回class对象 2.类名.class:通过类名的属性class获取 3.对象.getClass():getClass()方法是object中的静态方 ...
分类:
编程语言 时间:
2020-05-04 15:28:36
阅读次数:
58
问题描述:有N种物品和一个容量是V的背包第i种物品最多有si件,每件体积是vi,价值是wi。 求解将哪些物品装入背包,可使这些物品的总体积不超过背包容量,且总价值最大。输出最大价值。输入: 第一行两个整数,N,V,用空格隔开,分别表示物品种数和背包容积。接下来有N行,每行三个整数vi,wi,si,用 ...
分类:
其他好文 时间:
2020-05-03 20:34:48
阅读次数:
52
1.运用场景 Web scale modeling。 2.创新点 automatically combines features to produce superiors models. Residual Units. 3.算法原理 3.1 整体框架 3.2 Deep crossing "Deep ...
分类:
其他好文 时间:
2020-05-03 10:30:27
阅读次数:
60
k8s的dashboard界面 1.上传并导入镜像,打标签 2.创建dashboard的deployment和service 3.访问http://10.0.0.11:8080/ui/ dashboard.yaml dashboard svc.yaml 界面的其他资源类型 其他 服务和自动发现 sv ...
分类:
Web程序 时间:
2020-05-02 17:22:12
阅读次数:
101