Files
redkale/javadoc/org.redkale/org/redkale/boot/class-use/NodeServer.html
2024-06-12 15:26:59 +08:00

444 lines
31 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="zh">
<head>
<!-- Generated by javadoc (11.0.18) on Wed Jun 12 15:24:51 CST 2024 -->
<title>类 org.redkale.boot.NodeServer的使用 (RedkaleProject 2.8.0-SNAPSHOT API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2024-06-12">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../../jquery/jquery-3.6.0.min.js"></script>
<script type="text/javascript" src="../../../../../jquery/jquery-ui.min.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="\u7C7B org.redkale.boot.NodeServer\u7684\u4F7F\u7528 (RedkaleProject 2.8.0-SNAPSHOT API)";
}
}
catch(err) {
}
//-->
var pathtoroot = "../../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>您的浏览器已禁用 JavaScript。</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="导航">
<li><a href="../../../../module-summary.html">模块</a></li>
<li><a href="../package-summary.html">程序包</a></li>
<li><a href="../NodeServer.html" title="org.redkale.boot中的类"></a></li>
<li class="navBarCell1Rev">使用</li>
<li><a href="../package-tree.html"></a></li>
<li><a href="../../../../../deprecated-list.html">已过时</a></li>
<li><a href="../../../../../index-all.html">索引</a></li>
<li><a href="../../../../../help-doc.html">帮助</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses.html">所有类</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>您的浏览器已禁用 JavaScript。</div>
</noscript>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<main role="main">
<div class="header">
<h2 title="类的使用 org.redkale.boot.NodeServer" class="title">类的使用<br>org.redkale.boot.NodeServer</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<table class="useSummary">
<caption><span>使用<a href="../NodeServer.html" title="org.redkale.boot中的类">NodeServer</a>的程序包</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">程序包</th>
<th class="colLast" scope="col">说明</th>
</tr>
<tbody>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="#org.redkale.boot">org.redkale.boot</a></th>
<td class="colLast">
<div class="block">提供Redkale服务器的启动、初始化和加载功能</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="#org.redkale.cluster.spi">org.redkale.cluster.spi</a></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
<li class="blockList">
<section role="region"><a id="org.redkale.boot">
<!-- -->
</a>
<h3><a href="../package-summary.html">org.redkale.boot</a><a href="../NodeServer.html" title="org.redkale.boot中的类">NodeServer</a>的使用</h3>
<table class="useSummary">
<caption><span><a href="../package-summary.html">org.redkale.boot</a><a href="../NodeServer.html" title="org.redkale.boot中的类">NodeServer</a>的子类</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">修饰符和类型</th>
<th class="colSecond" scope="col"></th>
<th class="colLast" scope="col">说明</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../NodeHttpServer.html" title="org.redkale.boot中的类">NodeHttpServer</a></span></code></th>
<td class="colLast">
<div class="block">HTTP Server节点的配置Server</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../NodeSncpServer.html" title="org.redkale.boot中的类">NodeSncpServer</a></span></code></th>
<td class="colLast">
<div class="block">SNCP Server节点的配置Server</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../NodeWatchServer.html" title="org.redkale.boot中的类">NodeWatchServer</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
<table class="useSummary">
<caption><span>类型参数类型为<a href="../NodeServer.html" title="org.redkale.boot中的类">NodeServer</a><a href="../package-summary.html">org.redkale.boot</a>中的方法</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">修饰符和类型</th>
<th class="colSecond" scope="col">方法</th>
<th class="colLast" scope="col">说明</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static &lt;T extends <a href="../NodeServer.html" title="org.redkale.boot中的类">NodeServer</a>&gt;<br><a href="../NodeServer.html" title="org.redkale.boot中的类">NodeServer</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">NodeServer.</span><code><span class="memberNameLink"><a href="../NodeServer.html#create(java.lang.Class,org.redkale.boot.Application,org.redkale.util.AnyValue)">create</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html?is-external=true" title="java.lang中的类或接口" class="externalLink">Class</a>&lt;T&gt;&nbsp;clazz,
<a href="../Application.html" title="org.redkale.boot中的类">Application</a>&nbsp;application,
<a href="../../util/AnyValue.html" title="org.redkale.util中的类">AnyValue</a>&nbsp;serconf)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
<table class="useSummary">
<caption><span>返回<a href="../NodeServer.html" title="org.redkale.boot中的类">NodeServer</a><a href="../package-summary.html">org.redkale.boot</a>中的方法</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">修饰符和类型</th>
<th class="colSecond" scope="col">方法</th>
<th class="colLast" scope="col">说明</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static &lt;T extends <a href="../NodeServer.html" title="org.redkale.boot中的类">NodeServer</a>&gt;<br><a href="../NodeServer.html" title="org.redkale.boot中的类">NodeServer</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">NodeServer.</span><code><span class="memberNameLink"><a href="../NodeServer.html#create(java.lang.Class,org.redkale.boot.Application,org.redkale.util.AnyValue)">create</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html?is-external=true" title="java.lang中的类或接口" class="externalLink">Class</a>&lt;T&gt;&nbsp;clazz,
<a href="../Application.html" title="org.redkale.boot中的类">Application</a>&nbsp;application,
<a href="../../util/AnyValue.html" title="org.redkale.util中的类">AnyValue</a>&nbsp;serconf)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../NodeServer.html" title="org.redkale.boot中的类">NodeServer</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">NodeSncpServer.</span><code><span class="memberNameLink"><a href="../NodeSncpServer.html#createNodeServer(org.redkale.boot.Application,org.redkale.util.AnyValue)">createNodeServer</a></span>&#8203;(<a href="../Application.html" title="org.redkale.boot中的类">Application</a>&nbsp;application,
<a href="../../util/AnyValue.html" title="org.redkale.util中的类">AnyValue</a>&nbsp;serconf)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
<table class="useSummary">
<caption><span>返回变量类型为<a href="../NodeServer.html" title="org.redkale.boot中的类">NodeServer</a>的类型的<a href="../package-summary.html">org.redkale.boot</a>中的方法</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">修饰符和类型</th>
<th class="colSecond" scope="col">方法</th>
<th class="colLast" scope="col">说明</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html?is-external=true" title="java.util中的类或接口" class="externalLink">List</a>&lt;<a href="../NodeServer.html" title="org.redkale.boot中的类">NodeServer</a>&gt;</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Application.</span><code><span class="memberNameLink"><a href="../Application.html#getNodeServers()">getNodeServers</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
<table class="useSummary">
<caption><span>参数类型为<a href="../NodeServer.html" title="org.redkale.boot中的类">NodeServer</a><a href="../package-summary.html">org.redkale.boot</a>中的方法</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">修饰符和类型</th>
<th class="colSecond" scope="col">方法</th>
<th class="colLast" scope="col">说明</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">NodeInterceptor.</span><code><span class="memberNameLink"><a href="../NodeInterceptor.html#preShutdown(org.redkale.boot.NodeServer)">preShutdown</a></span>&#8203;(<a href="../NodeServer.html" title="org.redkale.boot中的类">NodeServer</a>&nbsp;server)</code></th>
<td class="colLast">
<div class="block">Server.shutdown之前调用 <br>
NodeServer.shutdown的部署是先执行NodeInterceptor.preShutdown再执行 Server.shutdown 方法</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">NodeInterceptor.</span><code><span class="memberNameLink"><a href="../NodeInterceptor.html#preStart(org.redkale.boot.NodeServer)">preStart</a></span>&#8203;(<a href="../NodeServer.html" title="org.redkale.boot中的类">NodeServer</a>&nbsp;server)</code></th>
<td class="colLast">
<div class="block">* Server.start之前调用 <br>
NodeServer.start的部署是先执行NodeInterceptor.preStart再执行 Server.start 方法</div>
</td>
</tr>
</tbody>
</table>
</section>
</li>
<li class="blockList">
<section role="region"><a id="org.redkale.cluster.spi">
<!-- -->
</a>
<h3><a href="../../cluster/spi/package-summary.html">org.redkale.cluster.spi</a><a href="../NodeServer.html" title="org.redkale.boot中的类">NodeServer</a>的使用</h3>
<table class="useSummary">
<caption><span>参数类型为<a href="../NodeServer.html" title="org.redkale.boot中的类">NodeServer</a><a href="../../cluster/spi/package-summary.html">org.redkale.cluster.spi</a>中的方法</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">修饰符和类型</th>
<th class="colSecond" scope="col">方法</th>
<th class="colLast" scope="col">说明</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ClusterAgent.</span><code><span class="memberNameLink"><a href="../../cluster/spi/ClusterAgent.html#afterDeregister(org.redkale.boot.NodeServer,java.lang.String)">afterDeregister</a></span>&#8203;(<a href="../NodeServer.html" title="org.redkale.boot中的类">NodeServer</a>&nbsp;ns,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="java.lang中的类或接口" class="externalLink">String</a>&nbsp;protocol)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ClusterAgent.</span><code><span class="memberNameLink"><a href="../../cluster/spi/ClusterAgent.html#canRegister(org.redkale.boot.NodeServer,java.lang.String,org.redkale.service.Service)">canRegister</a></span>&#8203;(<a href="../NodeServer.html" title="org.redkale.boot中的类">NodeServer</a>&nbsp;ns,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="java.lang中的类或接口" class="externalLink">String</a>&nbsp;protocol,
<a href="../../service/Service.html" title="org.redkale.service中的接口">Service</a>&nbsp;service)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">CacheClusterAgent.</span><code><span class="memberNameLink"><a href="../../cluster/spi/CacheClusterAgent.html#deregister(org.redkale.boot.NodeServer,java.lang.String,org.redkale.service.Service)">deregister</a></span>&#8203;(<a href="../NodeServer.html" title="org.redkale.boot中的类">NodeServer</a>&nbsp;ns,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="java.lang中的类或接口" class="externalLink">String</a>&nbsp;protocol,
<a href="../../service/Service.html" title="org.redkale.service中的接口">Service</a>&nbsp;service)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">CacheClusterAgent.</span><code><span class="memberNameLink"><a href="../../cluster/spi/CacheClusterAgent.html#deregister(org.redkale.boot.NodeServer,java.lang.String,org.redkale.service.Service,boolean)">deregister</a></span>&#8203;(<a href="../NodeServer.html" title="org.redkale.boot中的类">NodeServer</a>&nbsp;ns,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="java.lang中的类或接口" class="externalLink">String</a>&nbsp;protocol,
<a href="../../service/Service.html" title="org.redkale.service中的接口">Service</a>&nbsp;service,
boolean&nbsp;realCanceled)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ClusterAgent.</span><code><span class="memberNameLink"><a href="../../cluster/spi/ClusterAgent.html#deregister(org.redkale.boot.NodeServer,java.lang.String,java.util.Set,java.util.Set,java.util.Set)">deregister</a></span>&#8203;(<a href="../NodeServer.html" title="org.redkale.boot中的类">NodeServer</a>&nbsp;ns,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="java.lang中的类或接口" class="externalLink">String</a>&nbsp;protocol,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Set.html?is-external=true" title="java.util中的类或接口" class="externalLink">Set</a>&lt;<a href="../../service/Service.html" title="org.redkale.service中的接口">Service</a>&gt;&nbsp;localServices,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Set.html?is-external=true" title="java.util中的类或接口" class="externalLink">Set</a>&lt;<a href="../../service/Service.html" title="org.redkale.service中的接口">Service</a>&gt;&nbsp;remoteServices,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Set.html?is-external=true" title="java.util中的类或接口" class="externalLink">Set</a>&lt;<a href="../../service/Service.html" title="org.redkale.service中的接口">Service</a>&gt;&nbsp;servletServices)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected abstract void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ClusterAgent.</span><code><span class="memberNameLink"><a href="../../cluster/spi/ClusterAgent.html#deregister(org.redkale.boot.NodeServer,java.lang.String,org.redkale.service.Service)">deregister</a></span>&#8203;(<a href="../NodeServer.html" title="org.redkale.boot中的类">NodeServer</a>&nbsp;ns,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="java.lang中的类或接口" class="externalLink">String</a>&nbsp;protocol,
<a href="../../service/Service.html" title="org.redkale.service中的接口">Service</a>&nbsp;service)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="java.lang中的类或接口" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">CacheClusterAgent.</span><code><span class="memberNameLink"><a href="../../cluster/spi/CacheClusterAgent.html#generateCheckId(org.redkale.boot.NodeServer,java.lang.String,org.redkale.service.Service)">generateCheckId</a></span>&#8203;(<a href="../NodeServer.html" title="org.redkale.boot中的类">NodeServer</a>&nbsp;ns,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="java.lang中的类或接口" class="externalLink">String</a>&nbsp;protocol,
<a href="../../service/Service.html" title="org.redkale.service中的接口">Service</a>&nbsp;service)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="java.lang中的类或接口" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ClusterAgent.</span><code><span class="memberNameLink"><a href="../../cluster/spi/ClusterAgent.html#generateCheckId(org.redkale.boot.NodeServer,java.lang.String,org.redkale.service.Service)">generateCheckId</a></span>&#8203;(<a href="../NodeServer.html" title="org.redkale.boot中的类">NodeServer</a>&nbsp;ns,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="java.lang中的类或接口" class="externalLink">String</a>&nbsp;protocol,
<a href="../../service/Service.html" title="org.redkale.service中的接口">Service</a>&nbsp;service)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="java.lang中的类或接口" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">CacheClusterAgent.</span><code><span class="memberNameLink"><a href="../../cluster/spi/CacheClusterAgent.html#generateCheckName(org.redkale.boot.NodeServer,java.lang.String,org.redkale.service.Service)">generateCheckName</a></span>&#8203;(<a href="../NodeServer.html" title="org.redkale.boot中的类">NodeServer</a>&nbsp;ns,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="java.lang中的类或接口" class="externalLink">String</a>&nbsp;protocol,
<a href="../../service/Service.html" title="org.redkale.service中的接口">Service</a>&nbsp;service)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="java.lang中的类或接口" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ClusterAgent.</span><code><span class="memberNameLink"><a href="../../cluster/spi/ClusterAgent.html#generateCheckName(org.redkale.boot.NodeServer,java.lang.String,org.redkale.service.Service)">generateCheckName</a></span>&#8203;(<a href="../NodeServer.html" title="org.redkale.boot中的类">NodeServer</a>&nbsp;ns,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="java.lang中的类或接口" class="externalLink">String</a>&nbsp;protocol,
<a href="../../service/Service.html" title="org.redkale.service中的接口">Service</a>&nbsp;service)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="java.lang中的类或接口" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ClusterAgent.</span><code><span class="memberNameLink"><a href="../../cluster/spi/ClusterAgent.html#generateServiceId(org.redkale.boot.NodeServer,java.lang.String,org.redkale.service.Service)">generateServiceId</a></span>&#8203;(<a href="../NodeServer.html" title="org.redkale.boot中的类">NodeServer</a>&nbsp;ns,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="java.lang中的类或接口" class="externalLink">String</a>&nbsp;protocol,
<a href="../../service/Service.html" title="org.redkale.service中的接口">Service</a>&nbsp;service)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="java.lang中的类或接口" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">CacheClusterAgent.</span><code><span class="memberNameLink"><a href="../../cluster/spi/CacheClusterAgent.html#generateServiceName(org.redkale.boot.NodeServer,java.lang.String,org.redkale.service.Service)">generateServiceName</a></span>&#8203;(<a href="../NodeServer.html" title="org.redkale.boot中的类">NodeServer</a>&nbsp;ns,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="java.lang中的类或接口" class="externalLink">String</a>&nbsp;protocol,
<a href="../../service/Service.html" title="org.redkale.service中的接口">Service</a>&nbsp;service)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="java.lang中的类或接口" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ClusterAgent.</span><code><span class="memberNameLink"><a href="../../cluster/spi/ClusterAgent.html#generateServiceName(org.redkale.boot.NodeServer,java.lang.String,org.redkale.service.Service)">generateServiceName</a></span>&#8203;(<a href="../NodeServer.html" title="org.redkale.boot中的类">NodeServer</a>&nbsp;ns,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="java.lang中的类或接口" class="externalLink">String</a>&nbsp;protocol,
<a href="../../service/Service.html" title="org.redkale.service中的接口">Service</a>&nbsp;service)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../cluster/spi/ClusterAgent.ClusterEntry.html" title="org.redkale.cluster.spi中的类">ClusterAgent.ClusterEntry</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">CacheClusterAgent.</span><code><span class="memberNameLink"><a href="../../cluster/spi/CacheClusterAgent.html#register(org.redkale.boot.NodeServer,java.lang.String,org.redkale.service.Service)">register</a></span>&#8203;(<a href="../NodeServer.html" title="org.redkale.boot中的类">NodeServer</a>&nbsp;ns,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="java.lang中的类或接口" class="externalLink">String</a>&nbsp;protocol,
<a href="../../service/Service.html" title="org.redkale.service中的接口">Service</a>&nbsp;service)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ClusterAgent.</span><code><span class="memberNameLink"><a href="../../cluster/spi/ClusterAgent.html#register(org.redkale.boot.NodeServer,java.lang.String,java.util.Set,java.util.Set,java.util.Set)">register</a></span>&#8203;(<a href="../NodeServer.html" title="org.redkale.boot中的类">NodeServer</a>&nbsp;ns,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="java.lang中的类或接口" class="externalLink">String</a>&nbsp;protocol,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Set.html?is-external=true" title="java.util中的类或接口" class="externalLink">Set</a>&lt;<a href="../../service/Service.html" title="org.redkale.service中的接口">Service</a>&gt;&nbsp;localServices,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Set.html?is-external=true" title="java.util中的类或接口" class="externalLink">Set</a>&lt;<a href="../../service/Service.html" title="org.redkale.service中的接口">Service</a>&gt;&nbsp;remoteServices,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Set.html?is-external=true" title="java.util中的类或接口" class="externalLink">Set</a>&lt;<a href="../../service/Service.html" title="org.redkale.service中的接口">Service</a>&gt;&nbsp;servletServices)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected abstract <a href="../../cluster/spi/ClusterAgent.ClusterEntry.html" title="org.redkale.cluster.spi中的类">ClusterAgent.ClusterEntry</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ClusterAgent.</span><code><span class="memberNameLink"><a href="../../cluster/spi/ClusterAgent.html#register(org.redkale.boot.NodeServer,java.lang.String,org.redkale.service.Service)">register</a></span>&#8203;(<a href="../NodeServer.html" title="org.redkale.boot中的类">NodeServer</a>&nbsp;ns,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="java.lang中的类或接口" class="externalLink">String</a>&nbsp;protocol,
<a href="../../service/Service.html" title="org.redkale.service中的接口">Service</a>&nbsp;service)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
<table class="useSummary">
<caption><span>参数类型为<a href="../NodeServer.html" title="org.redkale.boot中的类">NodeServer</a><a href="../../cluster/spi/package-summary.html">org.redkale.cluster.spi</a>中的构造器</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">构造器</th>
<th class="colLast" scope="col">说明</th>
</tr>
<tbody>
<tr class="altColor">
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../cluster/spi/ClusterAgent.ClusterEntry.html#%3Cinit%3E(org.redkale.boot.NodeServer,java.lang.String,org.redkale.service.Service)">ClusterEntry</a></span>&#8203;(<a href="../NodeServer.html" title="org.redkale.boot中的类">NodeServer</a>&nbsp;ns,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="java.lang中的类或接口" class="externalLink">String</a>&nbsp;protocol,
<a href="../../service/Service.html" title="org.redkale.service中的接口">Service</a>&nbsp;service)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</section>
</li>
</ul>
</li>
</ul>
</div>
</main>
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="导航">
<li><a href="../../../../module-summary.html">模块</a></li>
<li><a href="../package-summary.html">程序包</a></li>
<li><a href="../NodeServer.html" title="org.redkale.boot中的类"></a></li>
<li class="navBarCell1Rev">使用</li>
<li><a href="../package-tree.html"></a></li>
<li><a href="../../../../../deprecated-list.html">已过时</a></li>
<li><a href="../../../../../index-all.html">索引</a></li>
<li><a href="../../../../../help-doc.html">帮助</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses.html">所有类</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>您的浏览器已禁用 JavaScript。</div>
</noscript>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small>Copyright &#169; 2024. All rights reserved.</small></p>
</footer>
</body>
</html>