
zookeeper
scaling_heights
scaling_heights
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
zookeeper分布式(五)--netty(一)
clientpackage com.test.netty.netty.example.discard;import io.netty.buffer.ByteBuf;import io.netty.channel.ChannelFuture;import io.netty.channel.ChannelFutureListener;import io.netty.channel.ChannelHandlerContext;import io.netty.channel.SimpleChann原创 2020-10-18 23:07:00 · 194 阅读 · 0 评论 -
zookeeper分布式(五)--nio(四)
niopackage com.test.netty.nio;import java.io.IOException;import java.net.InetSocketAddress;import java.nio.ByteBuffer;import java.nio.channels.ClosedChannelException;import java.nio.channels.SelectionKey;import java.nio.channels.Selector;import原创 2020-10-18 23:04:21 · 172 阅读 · 0 评论 -
zookeeper分布式(五)--rpc(三)
apipackage com.test.api.dto;import java.io.Serializable;public class RsfResponseDto<T> implements Serializable { private static final long serialVersionUID = -5779341775984708513L; private boolean success; private String errorCode;原创 2020-10-18 22:59:06 · 122 阅读 · 0 评论 -
zookeeper分布式(五)--rpc(二)
Discoverypackage com.test.rpc.discovery;public interface ServiceDiscovery { String discover(String serviceName);}package com.test.rpc.discovery.impl;import com.test.rpc.discovery.ServiceDiscovery;import com.test.rpc.loadbalance.LoadBalanc.原创 2020-10-18 22:53:18 · 110 阅读 · 0 评论 -
zookeeper分布式(五)--rpc(一)
通用注解package com.test.rpc.annotation;import java.lang.annotation.*;@Target(ElementType.TYPE)@Retention(RetentionPolicy.RUNTIME)@Documentedpublic @interface Contract { String name(); String description();}package com.test.rpc.annotation原创 2020-10-18 22:44:23 · 86 阅读 · 0 评论 -
zookeeper分布式(四)
<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/ma.原创 2020-10-14 23:59:01 · 132 阅读 · 0 评论 -
zookeeper分布式(三)--工具类
<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/ma.原创 2020-10-14 23:55:12 · 133 阅读 · 0 评论 -
zookeeper分布式(二)
<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/ma.原创 2020-10-14 23:52:05 · 133 阅读 · 0 评论 -
zookeeper分布式(一)
<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/ma.原创 2020-10-14 23:45:02 · 110 阅读 · 0 评论 -
zookeeper创建
<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/ma.原创 2020-09-13 20:13:41 · 121 阅读 · 0 评论