Java issue

来源:互联网 发布:smtp.ym.163.com 端口 编辑:程序博客网 时间:2024/05/16 06:47

读取XML配置文件可使用Digester

ObjectOutputStream 会在标准流中加入header字段,DataInputStream不会


NIO中的Key cancel了之后要到下一次selector.select()才会将canceledSet中的key清除掉,selector中维护了三个set:registerSet,selectSet,canceledSet,selectSet中的key如果不remove掉,会引发持续的反馈