<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[github_37666068的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/github_37666068</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; github_37666068]]></copyright><item><title><![CDATA[NSQ 学习随记（1）]]></title><link>https://blog.youkuaiyun.com/github_37666068/article/details/102917189</link><guid>https://blog.youkuaiyun.com/github_37666068/article/details/102917189</guid><author>github_37666068</author><pubDate>Thu, 07 Nov 2019 11:18:47 +0800</pubDate><description><![CDATA[NSQ是用golang编写的高性能分布式消息队列（可以理解为轻量化的kafka），就个人理解来说，消息队列可以看成一个大的buffer ，用于信息生产速率和信息消费速率、分布式消息同步，同时也便于一些容灾策略的实现。

本系列文章着重点在于深入源码理解，不会写一些大的概念以及整体架构，方便理解具体功能的具体实现方式。

项目地址nsq

整体的代码结构如下



apps里主要是nsq系列进程的...]]></description><category></category></item><item><title><![CDATA[Haskell学习随记（1）]]></title><link>https://blog.youkuaiyun.com/github_37666068/article/details/89850491</link><guid>https://blog.youkuaiyun.com/github_37666068/article/details/89850491</guid><author>github_37666068</author><pubDate>Sun, 05 May 2019 17:30:29 +0800</pubDate><description><![CDATA[Basic
. If if is be used then must appear else else boom~~~
. Less append, more reverse (not [xxxxx]++x but x:[xxxxxx]), haskell will walk through the first param
. Without variable but const
. Less '...]]></description><category></category></item><item><title><![CDATA[Java 日看一类（67）之net包中的CookiePolicy接口]]></title><link>https://blog.youkuaiyun.com/github_37666068/article/details/80487454</link><guid>https://blog.youkuaiyun.com/github_37666068/article/details/80487454</guid><author>github_37666068</author><pubDate>Mon, 28 May 2018 19:58:12 +0800</pubDate><description><![CDATA[该接口无继承类和引入包改接口的类头注释如下：/**
 * CookiePolicy implementations decide which cookies should be accepted
 * and which should be rejected. Three pre-defined policy implementations
 * are provided, namely ACCE...]]></description><category></category></item><item><title><![CDATA[Java 日看一类（66）之IO包中的CookieHandler]]></title><link>https://blog.youkuaiyun.com/github_37666068/article/details/80463688</link><guid>https://blog.youkuaiyun.com/github_37666068/article/details/80463688</guid><author>github_37666068</author><pubDate>Sun, 27 May 2018 13:56:24 +0800</pubDate><description><![CDATA[该类无继承类引入了如下包import java.util.Map;
import java.util.List;
import java.io.IOException;
import sun.security.util.SecurityConstants;
该类的类头注释如下：/**
 * A CookieHandler object provides a callback mechanism t...]]></description><category></category></item><item><title><![CDATA[Java 日看一类（65）之net包中的ContentHandlerFactory接口与ContentHandler类]]></title><link>https://blog.youkuaiyun.com/github_37666068/article/details/80457701</link><guid>https://blog.youkuaiyun.com/github_37666068/article/details/80457701</guid><author>github_37666068</author><pubDate>Fri, 25 May 2018 23:24:25 +0800</pubDate><description><![CDATA[ContentHandlerFactory类无引入包和继承类该类的类头注释如下：/**
 * This interface defines a factory for content handlers. An
 * implementation of this interface should map a MIME type into an
 * instance of {@code Conten...]]></description><category></category></item><item><title><![CDATA[Java 日看一类（64）之net包中的CacheRequest类和CacheResponse类]]></title><link>https://blog.youkuaiyun.com/github_37666068/article/details/80441121</link><guid>https://blog.youkuaiyun.com/github_37666068/article/details/80441121</guid><author>github_37666068</author><pubDate>Thu, 24 May 2018 20:08:05 +0800</pubDate><description><![CDATA[CacheRequest类无继承类引入了如下包import java.io.OutputStream;
import java.io.IOException;
该类的类头注释如下：/**
 * Represents channels for storing resources in the
 * ResponseCache. Instances of such a class provide an...]]></description><category></category></item><item><title><![CDATA[Java 日看一类（63）之net包中的BindException和ConnectException异常类]]></title><link>https://blog.youkuaiyun.com/github_37666068/article/details/80416207</link><guid>https://blog.youkuaiyun.com/github_37666068/article/details/80416207</guid><author>github_37666068</author><pubDate>Wed, 23 May 2018 11:08:26 +0800</pubDate><description><![CDATA[BindException无引入包继承自SocketException类该类的类头注释如下：/**
 * Signals that an error occurred while attempting to bind a
 * socket to a local address and port.  Typically, the port is
 * in use, or the requeste...]]></description><category></category></item><item><title><![CDATA[Java 日看一类（62）之net包中的Authenticator类]]></title><link>https://blog.youkuaiyun.com/github_37666068/article/details/80404264</link><guid>https://blog.youkuaiyun.com/github_37666068/article/details/80404264</guid><author>github_37666068</author><pubDate>Tue, 22 May 2018 15:29:40 +0800</pubDate><description><![CDATA[该类无引入包和继承类该类的类头注释如下：/**
 * The class Authenticator represents an object that knows how to obtain
 * authentication for a network connection.  Usually, it will do this
 * by prompting the user for info...]]></description><category></category></item><item><title><![CDATA[Java 日看一类（61）AbstractPlainSocketImpl类]]></title><link>https://blog.youkuaiyun.com/github_37666068/article/details/80333178</link><guid>https://blog.youkuaiyun.com/github_37666068/article/details/80333178</guid><author>github_37666068</author><pubDate>Mon, 21 May 2018 17:15:59 +0800</pubDate><description><![CDATA[该类继承自SocketImpl类该类引入了如下包：import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.FileDescriptor;

import sun.net.ConnectionResetException;
import sun.net.Ne...]]></description><category></category></item><item><title><![CDATA[Java 日看一类（60）之net包中的AbstractPlainDatagramSocketImpl类]]></title><link>https://blog.youkuaiyun.com/github_37666068/article/details/80317811</link><guid>https://blog.youkuaiyun.com/github_37666068/article/details/80317811</guid><author>github_37666068</author><pubDate>Tue, 15 May 2018 10:00:56 +0800</pubDate><description><![CDATA[该类引入了如下包：import java.io.FileDescriptor;
import java.io.IOException;
import java.security.AccessController;
import sun.net.ResourceManager;
该类继承自DatagramSocketImpl类该类不是公共类该类的类头注释如下：/**
 * Abstract data...]]></description><category></category></item><item><title><![CDATA[Java 日看一类（59）之 IO包中的WriteAbortedException和UTFDataFormatException异常类]]></title><link>https://blog.youkuaiyun.com/github_37666068/article/details/80308174</link><guid>https://blog.youkuaiyun.com/github_37666068/article/details/80308174</guid><author>github_37666068</author><pubDate>Mon, 14 May 2018 13:19:30 +0800</pubDate><description><![CDATA[WriteAbortedException无引入包继承自ObjectStreamException该类的类头注释如下：/**
 * Signals that one of the ObjectStreamExceptions was thrown during a
 * write operation.  Thrown during a read operation when one of the...]]></description><category></category></item><item><title><![CDATA[Java 日看一类（58）之IO包中的SyncFailedException、UncheckIOException和UnSupportedEncodingException异常类]]></title><link>https://blog.youkuaiyun.com/github_37666068/article/details/80289557</link><guid>https://blog.youkuaiyun.com/github_37666068/article/details/80289557</guid><author>github_37666068</author><pubDate>Sat, 12 May 2018 11:09:56 +0800</pubDate><description><![CDATA[SyncFailedException无引入包继承自IOException该类的类头注释如下：Signals that a sync operation has failed.大意如下：标志同步操作失败该类含有如下的成员变量：序列化IDprivate static final long serialVersionUID = -2353342684412443330L;该类含有如下的成员方法：构造函...]]></description><category></category></item><item><title><![CDATA[Java 日看一类（57）之IO包中的Writer类]]></title><link>https://blog.youkuaiyun.com/github_37666068/article/details/80283155</link><guid>https://blog.youkuaiyun.com/github_37666068/article/details/80283155</guid><author>github_37666068</author><pubDate>Fri, 11 May 2018 16:39:17 +0800</pubDate><description><![CDATA[该类无继承类，完成了Appendable、Closeable、Flushable接口该类无引入包该类的类头注释如下：
/**
 * Abstract class for writing to character streams.  The only methods that a
 * subclass must implement are write(char[], int, int), flus...]]></description><category></category></item><item><title><![CDATA[Java 日看一类（56）之IO包中的StringWriter类]]></title><link>https://blog.youkuaiyun.com/github_37666068/article/details/80266054</link><guid>https://blog.youkuaiyun.com/github_37666068/article/details/80266054</guid><author>github_37666068</author><pubDate>Thu, 10 May 2018 13:17:04 +0800</pubDate><description><![CDATA[该类无引入包继承自Writer类该类的类头注释如下：/**
 * A character stream that collects its output in a string buffer, which can
 * then be used to construct a string.
 * &amp;lt;p&amp;gt;
 * Closing a &amp;lt;tt&amp;gt;StringWriter&amp;lt;/t...]]></description><category></category></item><item><title><![CDATA[Java 日看一类（55）之IO包中的StringReader类]]></title><link>https://blog.youkuaiyun.com/github_37666068/article/details/80258156</link><guid>https://blog.youkuaiyun.com/github_37666068/article/details/80258156</guid><author>github_37666068</author><pubDate>Wed, 09 May 2018 19:30:12 +0800</pubDate><description><![CDATA[该类的无引入包继承自Reader类该类的类头注释如下：* A character stream whose source is a string.大意如下：读取对象是字符串的字符读入流该类含有如下的成员变量：需要读取的字符串private String str;字符串长度private int length;读取位置偏移量private int next = 0;标记回溯点private int ...]]></description><category></category></item><item><title><![CDATA[Java 日看一类（54）之IO包中的Serializable接口]]></title><link>https://blog.youkuaiyun.com/github_37666068/article/details/80221552</link><guid>https://blog.youkuaiyun.com/github_37666068/article/details/80221552</guid><author>github_37666068</author><pubDate>Mon, 07 May 2018 10:41:05 +0800</pubDate><description><![CDATA[该接口无引入包无继承类该接口的类头注释如下：/**
 * Serializability of a class is enabled by the class implementing the
 * java.io.Serializable interface. Classes that do not implement this
 * interface will not have any of...]]></description><category></category></item><item><title><![CDATA[Java 日看一类（53）之IO包中的SerialCallbackContext类]]></title><link>https://blog.youkuaiyun.com/github_37666068/article/details/80213623</link><guid>https://blog.youkuaiyun.com/github_37666068/article/details/80213623</guid><author>github_37666068</author><pubDate>Sun, 06 May 2018 13:32:18 +0800</pubDate><description><![CDATA[该类是内部类，无法在包外引用，且该类为final，无法被继承该类无引入包和继承类该类的类头注释如下：/**
 * Context during upcalls from object stream to class-defined
 * readObject/writeObject methods.
 * Holds object currently being deserialized and ...]]></description><category></category></item><item><title><![CDATA[Java 日看一类（52）之IO包中的SequenceInputStream流]]></title><link>https://blog.youkuaiyun.com/github_37666068/article/details/80207017</link><guid>https://blog.youkuaiyun.com/github_37666068/article/details/80207017</guid><author>github_37666068</author><pubDate>Sat, 05 May 2018 16:56:54 +0800</pubDate><description><![CDATA[该类继承自InputStream引入了如下包import java.io.InputStream;
import java.util.Enumeration;
import java.util.Vector;
该类的类头注释如下：/**
 * A &amp;lt;code&amp;gt;SequenceInputStream&amp;lt;/code&amp;gt; represents
 * the logical conca...]]></description><category></category></item><item><title><![CDATA[Java 日看一类（51）之IO包中的Reader类]]></title><link>https://blog.youkuaiyun.com/github_37666068/article/details/80181136</link><guid>https://blog.youkuaiyun.com/github_37666068/article/details/80181136</guid><author>github_37666068</author><pubDate>Thu, 03 May 2018 16:29:33 +0800</pubDate><description><![CDATA[该类完成了Readable、Closeable接口无引入其他包该类的类头注释如下：/**
 * Abstract class for reading character streams.  The only methods that a
 * subclass must implement are read(char[], int, int) and close().  Most
 * subcl...]]></description><category></category></item><item><title><![CDATA[Java 日看一类（50）之IO包中的RandomAccessFile]]></title><link>https://blog.youkuaiyun.com/github_37666068/article/details/80163078</link><guid>https://blog.youkuaiyun.com/github_37666068/article/details/80163078</guid><author>github_37666068</author><pubDate>Wed, 02 May 2018 11:52:01 +0800</pubDate><description><![CDATA[该类完成了DataInput，DataOutput，Closeable接口引入了如下包import java.nio.channels.FileChannel;
import sun.nio.ch.FileChannelImpl;该类的类头注释如下：/**
 * Instances of this class support both reading and writing to a
 * ran...]]></description><category></category></item></channel></rss>