上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 61 下一页
摘要: 全局临时表自动处理数据: drop table ljb_tmp_session; create global temporary table ljb_tmp_session on commit preserve rows as select * from dba_objects where 1=2; 阅读全文
posted @ 2020-02-14 11:59 石shi 阅读(229) 评论(0) 推荐(0) 编辑
摘要: range单字段分区: -- 范围分区示例 drop table range_part_tab purge; --注意,此分区为范围分区 --例子1 create table range_part_tab (id number,deal_date date,area_code number,nbr 阅读全文
posted @ 2020-02-13 16:02 石shi 阅读(194) 评论(0) 推荐(0) 编辑
摘要: 使用定时发送消息的方式,实现硬件检测,达到心态检测的目的。 心跳监测是用于检测电脑硬件和软件信息的一种技术。如:CPU 使用率,磁盘使用率, 内存使用率,进程情况,线程情况等。 4.5.1 sigar 需要下载一个 zip 压缩包。内部包含若干 sigar 需要的操作系统文件。sigar 插件是通过 阅读全文
posted @ 2020-02-08 19:33 石shi 阅读(713) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// 通用数据分页类 /// </summary> public class SqlDataPager { #region 一般属性 /// <summary> /// 每页显示的条数 /// </summary> public int PageSize { get; 阅读全文
posted @ 2020-02-07 19:47 石shi 阅读(272) 评论(0) 推荐(0) 编辑
摘要: 线程实现两个lable标签显示: public partial class FrmThreadControl : Form { public FrmThreadControl() { InitializeComponent(); } private void btnExecute1_Click(ob 阅读全文
posted @ 2020-02-06 19:37 石shi 阅读(822) 评论(0) 推荐(1) 编辑
摘要: public UpdateManager() { //1.初始化对象属性 this.LastUpdateInfo = new UpdateInfo(); this.NowUpdateInfo = new UpdateInfo(); //2.给属性赋值 this.GetLastUpdateInfo() 阅读全文
posted @ 2020-02-06 17:19 石shi 阅读(372) 评论(0) 推荐(0) 编辑
摘要: 添加: 自定义验证代码: public partial class SuperTextBox : TextBox { public SuperTextBox() { InitializeComponent(); } public SuperTextBox(IContainer container) 阅读全文
posted @ 2020-02-03 17:28 石shi 阅读(555) 评论(0) 推荐(0) 编辑
摘要: netty 使用 tcp/ip 协议传输数据。而 tcp/ip 协议是类似水流一样的数据传输方式。多次 访问的时候有可能出现数据粘包的问题,解决这种问题的方式如下: 定长数据流 客户端和服务器,提前协调好,每个消息长度固定。(如:长度 10)。如果客户端或服 务器写出的数据不足 10,则使用空白字符 阅读全文
posted @ 2020-02-03 16:22 石shi 阅读(533) 评论(0) 推荐(0) 编辑
摘要: Netty 是由 JBOSS 提供的一个 java 开源框架。Netty 提供异步的、事件驱动的网络应用 程序框架和工具,用以快速开发高性能、高可靠性的网络服务器和客户端程序。 也就是说,Netty 是一个基于 NIO 的客户、服务器端编程框架,使用 Netty 可以确保你 快速和简单的开发出一个网 阅读全文
posted @ 2020-02-02 00:18 石shi 阅读(479) 评论(0) 推荐(0) 编辑
摘要: Asynchronous IO: 异步非阻塞的编程方式 与 NIO 不同,当进行读写操作时,只须直接调用 API 的 read 或 write 方法即可。这两种 方法均为异步的,对于读操作而言,当有流可读取时,操作系统会将可读的流传入 read 方 法的缓冲区,并通知应用程序;对于写操作而言,当操作 阅读全文
posted @ 2020-02-01 12:29 石shi 阅读(513) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 61 下一页