上一页 1 ··· 6 7 8 9 10 11 下一页
摘要: Memcached add 命令用于将 value(数据值) 存储在指定的 key(键) 中。 如果 add 的 key 已经存在,则不会更新数据,之前的值将仍然保持相同,并且您将获得响应 NOT_STORED。 add 命令的基本语法格式如下: 参数说明如下: key:键值 key-value 结 阅读全文
posted @ 2016-11-16 20:47 火爆泡菜 阅读(230) 评论(0) 推荐(0) 编辑
摘要: Memcached replace 命令用于替换已存在的 key(键) 的 value(数据值)。 如果 key 不存在,则替换失败,并且您将获得响应 NOT_STORED。 replace 命令的基本语法格式如下: 参数说明如下: key:键值 key-value 结构中的 key,用于查找缓存值 阅读全文
posted @ 2016-11-16 20:47 火爆泡菜 阅读(199) 评论(0) 推荐(0) 编辑
摘要: 本章包括内容: 一、Memcached是什么、能干什么、特点; 二、在Centos7上安装Memcached 三、Memcached启动、简单操作、关闭 Memcached是什么 Memcached是一款开源的、高性能的、分布式的内存对象缓存系统Memcached能干什么 最主要的功能就是:在内存中 阅读全文
posted @ 2016-11-16 20:45 火爆泡菜 阅读(1086) 评论(0) 推荐(0) 编辑
摘要: BufferedInputStream 类声明:public class BufferedInputStream extends FilterInputStream位于java.io包下官方对其说明: A BufferedInputStream adds functionality to anoth 阅读全文
posted @ 2016-11-14 20:15 火爆泡菜 阅读(5203) 评论(0) 推荐(0) 编辑
摘要: FileInputStream 类声明:public class FileInputStream extends InputStream位于java.io包下官方对其说明: A FileInputStream obtains input bytes from a file in a file sys 阅读全文
posted @ 2016-11-13 10:12 火爆泡菜 阅读(4749) 评论(0) 推荐(0) 编辑
摘要: FilterInputStream、FilterOutputStream 过滤器字节输入流、输出流,这里用到了装饰器模式,它的主要用途在于给一个对象动态的添加功能。 当我们在创建FilterInputStream、FilterOutputStream这两个类的实例时需要传入一个InputStream 阅读全文
posted @ 2016-11-13 10:12 火爆泡菜 阅读(2747) 评论(0) 推荐(0) 编辑
摘要: ByteArrayInputStream 类声明:public class ByteArrayInputStream extends InputStream位于java.io包下官方对其说明: A ByteArrayInputStream contains an internal buffer th 阅读全文
posted @ 2016-11-10 20:26 火爆泡菜 阅读(8540) 评论(2) 推荐(2) 编辑
摘要: CentOS 7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙。 1、关闭firewall: systemctl stop firewalld.service #停止firewall systemctl disable firewalld.service #禁止firew 阅读全文
posted @ 2016-11-09 11:45 火爆泡菜 阅读(287) 评论(0) 推荐(0) 编辑
摘要: 字节输入流:InputStream 类声明: 位于java.io包下,是一个抽象类. 官方对其说明: This abstract class is the superclass of all classes representing an input stream of bytes. (简单翻译:抽 阅读全文
posted @ 2016-11-07 20:11 火爆泡菜 阅读(419) 评论(0) 推荐(0) 编辑
摘要: 1、CentOS7 安装nginx 1.先安装gcc, 命令:yum install gcc 2.安装pcre, 命令: yum install pcre* 3.安装zlib,命令:yum install zlib zlib-devel 4.如果需要支持ssl,则安装OpenSSL. 命令: yum 阅读全文
posted @ 2016-11-05 10:04 火爆泡菜 阅读(290) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 下一页