自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(87)
  • 资源 (3)
  • 论坛 (1)
  • 收藏
  • 关注

翻译 知识库--jvm-Parallel+Compacting+Collector(并行压缩回收)

Parallel Compacting Collector The parallel compacting collector was introduced in J2SE 5.0 update 6. The difference between it and the parallel collector is that it uses a new algorithm for old generat

2016-12-30 22:14:28 463 2

翻译 知识库--StandardService+Container+Connectors(64)

Container and ConnectorsA StandardService instance contains two types of components: a container and one or more connectors. Being able to have multiple connectors enable Tomcat to service multiple pro

2016-12-29 08:44:00 273

翻译 知识库--tomcat+service(63)

Service The org.apache.catalina.service interface represents a service. public interface Service{ public Container getContainer(); public void setContainer(Container container);

2016-12-28 08:43:12 183

翻译 知识库--tomcat+StandardService

StandardServerThe org.apache.catalina.core.StandardServer class is the standard implementation of Server. We’re particularly interested in the shutdown mechanism offered by this class, which is also th

2016-12-28 00:12:18 250

原创 脚本--Groovy 遍历字符串(62)

def chineseWithBlackSpace=”“for(c in userOrderNo){ if((‘0’ <= c ) && (‘9’ >= c)){ chineseWithBlackSpace +=c }else{ chineseWithBlackSpace += ” “+c } } println chineseW

2016-12-27 11:21:36 1281

原创 Forbid consumer 127.0.0.1 access service com.alibaba.dubbo.rpc.service.GenericService from registry

Forbid consumer 127.0.0.1 access service com.alibaba.dubbo.rpc.service.GenericService from registry zk.beta.corp.baidu.com:2181 use dubbo version 3.1.4, Please check registry access list (whitelist/bla

2016-12-27 09:59:26 9965 2

翻译 知识库--ZooKeeper + States and the Lifetime of a Session(62)

States and the Lifetime of a SessionThe lifetime of a session corresponds to the period between its creation and its end, whether it is closed gracefully or expires because of a timeout. To talk ab

2016-12-27 08:42:54 268

翻译 知识库--ZooKeeper create Session (61)

ZooKeeper create Session zk安装步骤: 1 wget http://zookeeper.apache.org –>具体的版本 2 extract the distribution: # tar -xvzf zookeeper-3.4.5.tar.gz --need java63 change directory(cd) to the project’

2016-12-27 00:00:14 463

翻译 知识库--Server + Service(61)

Server and ServiceOverview In previous chapters you have seen how you can have a servlet container by instantiating a connector and container and then associating them with each other. Only one conne

2016-12-26 08:28:57 255

翻译 知识库--StandardContext+backgroundProcess(60)

The backgroundProcess MethodA context needs the help of other components, such as a loader and a manager. Often these components require a separate thread that handles background processing. For in

2016-12-25 16:01:20 463

翻译 知识库--StandardContext + Reloading(60)

Support for ReloadingThe StandardContext class defines the reloadable property to indicate whether reloading of the application is enabled. When reloading is enabled, the application will be reloaded

2016-12-25 12:29:09 247

翻译 知识库--StandardContextMapper(60)

StandardContextMapper//StandardContextValve首先获取wrapper For each incoming request, the invoke method of the StandardContext’s pipeline’s basic valve will be called. The basic valve for a StandardContex

2016-12-25 10:54:05 318

翻译 知识库--ZooKeeper + Sessions(59)

ZooKeeper SessionsBefore executing any request against a ZooKeeper ensemble, a client must establish a session with the service. The concept of session is very important and quite critical for the ope

2016-12-25 00:00:19 722

翻译 知识库--ZooKeeper+Quorums+脑裂+为什么机器数为奇数(59)

ZooKeeper Quorums In quorum mode, ZooKeeper replicates its data tree across all servers in the ensemble. But if a client had to wait for every server to store its data before continuing, the delays mi

2016-12-24 23:30:40 2409

翻译 知识库--ZooKeeper+Architecture(59)

ZooKeeper+ ArchitectureNow that we have discussed at a high level the operations that ZooKeeper exposes to applications, we need to understand more of how the servicec actually works. Applications make

2016-12-24 22:32:26 251

翻译 知识库--ZooKeeper + Versions(59)

ZooKeeper + Versions//CAS Each znode has a version number associated with it that is incremented every time its data changes. A couple of operations in the API can be executed conditionally: setData a

2016-12-24 21:44:17 283

翻译 知识库--ZooKeeper + Watches and Notifications(59)

Watches and NotificationsBecause ZooKeeper is typically accessed as a remote service, accessing a znode every time a client needs to know its content would be very expensive: it would induce higher lat

2016-12-24 21:26:16 246

翻译 知识库--Zookeeper different modes for znodes(59)

Zookeeper–different modes for znodesPersistent and ephemeral znodesA znode can be either persistent or ephemeral. Apersistent znode /path can be deleted only through a call to delete. An ephemeral zno

2016-12-24 19:03:50 224

翻译 知识库--Zookeeper API Overview(59)

Zookeeper API Overview Znodes may or may not contain data. If a znode contains any data, the data is stored as a byte array. The exact fomat of the byte array is specific to each application, and Zoo

2016-12-24 18:16:10 271

翻译 知识库--ZooKeeper Basics(59)

ZooKeeper BasicsSeveral primitives used for coordination are commonly shared across many applications. Consequently, one way of designing a service used for coordination is to come up with a list of p

2016-12-24 17:46:21 208

翻译 zk--Building Distributed Systems with ZooKeeper(58)

//(zk)分布式系统的并发来源Processes in a distributed system have two broad options for communication: they can exchange messages directly through a network, or read and write to some shared storage. Zookeeper us

2016-12-23 19:26:02 256

翻译 zk--mission(58)

The Zookeeper Mission Trying to explain what Zookeeper does for us is like trying to explain what a screwdriver can do for us. In very basic terms, a screwdriver allows us to turn or drive screws,

2016-12-23 08:42:32 213

翻译 zk--preface(57)

Building distributed systems is hard. A lot of the applications people use daily, however, depend on such systems, and it doesn’t look like we will stop relying on distributed computer systems any ti

2016-12-22 00:53:18 231

翻译 知识库--StandardContext(57)

StandardContext (tomcat 4 and 5)历史 A context represents a web application and contains one or more wrappers, each of which represents a servlet definition. However, a context requires other components

2016-12-21 08:36:22 255

翻译 知识库--Engine interface(56)

Engine InterfaceThe org.apache.catalina.Engine interface represents an engine. An engine represents the entire Catalina servlet engine. You would want to use an engine if you want to support multip

2016-12-20 22:09:32 367

原创 异常--Error querying database. Cause: java.lang.NumberFormatException: For input string:"xxx"

Error querying database. Cause: java.lang.NumberFormatException: For input string:查询参数含有一个String类型字段,但是前端传递的是”-1”字符串,过来如下判断方式: <if test="taskType !=null and taskType !='0' and taskType !='-1'">

2016-12-20 16:00:42 13218 1

翻译 知识库--Tomcat deployment must + Host(56)

Tomcat deployment must + HostA Tomcat deployment must have a host if each context is to be configured using ContextConfig. The reason is following.ContextConfig needs the location of the application we

2016-12-20 10:02:17 366

翻译 知识库--ApplicationFilterChain(54)

ApplicationFilterChainThe org.apache.catalina.core.ApplicationFilterChain class is the implemetation of the javax.servlet.FilterChain interface. The invoke method in the StandardWrapperValve class crea

2016-12-18 23:33:45 659

翻译 spring--filter如何注入 spring管理的bean(54)

参见: http://blog.csdn.net/qfzhangwei/article/details/53731206

2016-12-18 23:17:57 311

原创 知识库--ApplicationFilterConfig+FilterConfig实践(54)

ApplicationFilterConfigThe org.apache.catalina.core.ApplicationFilterConfig implements the javax.servlet.FilterConfig interface. ApplicationFilterConfig manages the filter instances that are created wh

2016-12-18 23:14:43 1286

翻译 知识库--web.xml 中的 FilterDef(54)

FilterDefThe org.apache.catalina.deploy.FilterDef class represents a filter definition as defined by the filter element in the deployment descriptor. public final class FilterDef{ p

2016-12-18 22:47:27 232

翻译 知识库--StandardWrapperValve(54)

StandardWrapperValveThe StandardWrapperValve class is the basic valve in a StandardWrapper instance.This valve does two thinds:1 Executes all filters associated with the servlet2 Calls the sender's se

2016-12-18 22:28:18 258

翻译 知识库--StandardWrapperFacade(54)

StandardWrapperFacadeThe StandardWrapper instance calls the init method of the servlet it loads. The init method requires a javax.servlet.ServletConfig and then StandardWrapper class itself implements

2016-12-18 21:45:03 286

翻译 知识库--ServletConfig Object(54)

The loadServlet method of the StandardWrapper class calls the sender’s init method after the servlet is loaded. The init method is passed an instance of javax.servlet.ServletConfig. You may be wonderi

2016-12-18 21:03:56 269

翻译 知识库--Loading+Servlet(54)

Loading the ServletThe StandardWrapper class implements the load method of the Wrapper interface. The load method calls the loadServlet method that loads the servlet and calls its init me

2016-12-18 13:59:48 247

翻译 知识库 --allocate the servlet(54)

Allocating the ServletThe StandardWrapperValve’s invoke method calls the wrapper’s allocate method to obtain an instance of the requested servlet. The StandardWrapper class therefore must have the

2016-12-18 12:05:31 217

翻译 知识库--SingleThreadModel STM(53)

SingleThreadModel(STM)Understanding this interface is crucial in understanding how a wrapper loads a servlet.According to the Servlet specification, the purpose of implementing this interface is to gur

2016-12-17 22:10:21 267

翻译 知识库--how+request+invoke+servlet(53)

Sequence of Methods InvocationFor each incoming HTTP request, the connector calls the invoke method of the associated container. The container will then call the invoke methods of all its child contain

2016-12-17 21:28:43 258

原创 异常--ConcurrentModificationException(53)

java.util.ConcurrentModificationException: null at java.util.HashMapHashIterator.nextEntry(HashMap.java:926) [na:1.7.045]atjava.util.HashMapHashIterator.nextEntry(HashMap.java:926) ~[na:1.7.0_

2016-12-17 16:21:47 372 1

原创 论文--搜索批量下载_linux

//搜索论文用的shell命令sed 6步轻松搞定@wget -O networks.html url // 每一页25或者更多的pdf@cat  networks.html |grep "/stamp/stamp.jsp?tp=&arnumber=" | sed -e 's#">http://ieeexplore.ieee.org/stamp/#'|grep http://iee

2016-12-17 15:56:38 1294

整理流程.png.zip

喜欢dubbo等rpc框架的伙伴

2021-02-07

Memory Management in the Java HotSpot™ Virtual Machine.

15年最新

2016-12-28

zookeeper快速指导

zookeeper快速指导

2017-04-07

平静不绝望的留言板

发表于 2020-01-02 最后回复 2020-01-02

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人 TA的粉丝

提示
确定要删除当前文章?
取消 删除