public final class TcpBootstrapFactory
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
void |
cache(java.lang.String selectorName,
org.apache.shenyu.protocol.tcp.BootstrapServer bootstrapServer)
cache bootstrapServer by selectorName.
|
org.apache.shenyu.protocol.tcp.BootstrapServer |
createBootstrapServer(org.apache.shenyu.protocol.tcp.TcpServerConfiguration configuration)
createBootstrapServer.
|
org.apache.shenyu.protocol.tcp.BootstrapServer |
getCache(java.lang.String selectorName)
getCache.
|
static TcpBootstrapFactory |
getSingleton()
getSingleton.
|
java.lang.Boolean |
inCache(java.lang.String selectorName)
inCache.
|
org.apache.shenyu.protocol.tcp.BootstrapServer |
removeCache(java.lang.String selectorName)
removeCache.
|
public static TcpBootstrapFactory getSingleton()
public org.apache.shenyu.protocol.tcp.BootstrapServer createBootstrapServer(org.apache.shenyu.protocol.tcp.TcpServerConfiguration configuration)
configuration - configurationpublic void cache(java.lang.String selectorName,
org.apache.shenyu.protocol.tcp.BootstrapServer bootstrapServer)
selectorName - selectorNamebootstrapServer - bootstrapServerpublic java.lang.Boolean inCache(java.lang.String selectorName)
selectorName - selectorNamepublic org.apache.shenyu.protocol.tcp.BootstrapServer removeCache(java.lang.String selectorName)
selectorName - selectorNamepublic org.apache.shenyu.protocol.tcp.BootstrapServer getCache(java.lang.String selectorName)
selectorName - selectorNameCopyright © 2023 The Apache Software Foundation. All rights reserved.