```
agent.sources = seqGenSrc
agent.channels = memoryChannel
agent.sinks = loggerSink # For each one of the sources, the type is defined
agent.sources... ...
分类:
其他好文 时间:
2018-11-12 20:24:44
阅读次数:
145
jstat(JVM Statistics Monitoring Tool)是用于监控虚拟机各种运行状态信息的命令行工具。他可以显示本地或远程虚拟机进程中的类装载、内存、垃圾收集、JIT编译等运行数据,在没有GUI图形的服务器上,它是运行期定位虚拟机性能问题的首选工具。 jstat位于java的bin ...
分类:
编程语言 时间:
2018-11-10 22:42:35
阅读次数:
216
#include #include #define MaxN 10000 #define MaxC 10000 int Val[MaxN][MaxN]; double binaryKnapsack(int numItems, int *w,int *v, int capacity) { int i,... ...
分类:
编程语言 时间:
2018-11-08 00:25:09
阅读次数:
176
#include #include #define MaxN 10000 #define MaxC 10000 int Val[MaxN][MaxN]; double binaryKnapsack(int numItems, int *w,int *v, int capacity) { int i,... ...
分类:
编程语言 时间:
2018-11-08 00:11:24
阅读次数:
247
构造函数 变量解释 1. capacity,表示的是hashmap中桶的数量,初始化容量initCapacity为16,第一次扩容会扩到64,之后每次扩容都是之前容量的2倍,所以容量每次都是2的次幂 2. loadFactor,负载因子,衡量hashmap一个满的程度,初始默认为0.75 3. th ...
分类:
其他好文 时间:
2018-11-05 17:32:02
阅读次数:
115
1、下载文件 2、创建namespace 如果不使用public-service,需要更改所有yaml文件的public-service为你namespace。 3、创建持久化pv 此处采用的是静态PV方式,后端使用的是NFS,为了方便扩展可以使用动态PV较好。 创建集群 4、查看 pods、pv、 ...
分类:
Web程序 时间:
2018-11-02 18:56:49
阅读次数:
435
访问服务器提示:The server is temporarily unable to service your request due to maintenance downtime or capacity problems ...
分类:
其他好文 时间:
2018-11-02 13:03:55
阅读次数:
372
晚上做一个习题,发现了一个关于StringBuffer()长度的问题 根据理解大致可以归为以下知识。 直接上代码分析吧 假设我们的StringBuffer初始默认长度为x,我们所给的字符串长度为y 则可得,我们的s1.length返回的长度为x 当涉及到capacity()时候,我们需要判断 首先1 ...
分类:
其他好文 时间:
2018-11-02 00:26:58
阅读次数:
148
PAT A 1033 To Fill or Not to Fill With highways available, driving a car from Hangzhou to any other city is easy. But since the tank capacity of a car ...
分类:
其他好文 时间:
2018-10-28 20:55:20
阅读次数:
172
名词解释: 1、netcat:通过网络端口获取数据,source的实现类 2、logger:将数据显示到控制台,sink的实现类 3、memory: ,channel的实现类 4、capacity:是指channel的最大容量 5、spooldir:本地文件目录(文件夹)用来读取数据(文件) 6、f ...
分类:
Web程序 时间:
2018-10-27 00:20:10
阅读次数:
209