public class RaftRegistryServiceImpl extends Object implements RegistryService<org.apache.seata.config.ConfigChangeListener>
| Modifier and Type | Field and Description |
|---|---|
static String |
jwtToken |
CONFIG_SPLIT_CHAR, CURRENT_ADDRESS_MAP, PREFIX_SERVICE_MAPPING, PREFIX_SERVICE_ROOT, SERVICE_GROUP_NAME| Modifier and Type | Method and Description |
|---|---|
List<InetSocketAddress> |
aliveLookup(String transactionServiceGroup) |
void |
close() |
List<InetSocketAddress> |
lookup(String key) |
List<InetSocketAddress> |
refreshAliveLookup(String transactionServiceGroup,
List<InetSocketAddress> aliveAddress) |
void |
register(InetSocketAddress address) |
protected static void |
startQueryMetadata() |
void |
subscribe(String cluster,
org.apache.seata.config.ConfigChangeListener listener) |
void |
unregister(InetSocketAddress address) |
void |
unsubscribe(String cluster,
org.apache.seata.config.ConfigChangeListener listener) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetServiceGroup, register, removeOfflineAddressesIfNecessary, unregisterpublic static String jwtToken
public void register(InetSocketAddress address) throws Exception
register in interface RegistryService<org.apache.seata.config.ConfigChangeListener>Exceptionpublic void unregister(InetSocketAddress address) throws Exception
unregister in interface RegistryService<org.apache.seata.config.ConfigChangeListener>Exceptionpublic void subscribe(String cluster, org.apache.seata.config.ConfigChangeListener listener) throws Exception
subscribe in interface RegistryService<org.apache.seata.config.ConfigChangeListener>Exceptionpublic void unsubscribe(String cluster, org.apache.seata.config.ConfigChangeListener listener) throws Exception
unsubscribe in interface RegistryService<org.apache.seata.config.ConfigChangeListener>Exceptionprotected static void startQueryMetadata()
public void close()
close in interface RegistryService<org.apache.seata.config.ConfigChangeListener>public List<InetSocketAddress> aliveLookup(String transactionServiceGroup)
aliveLookup in interface RegistryService<org.apache.seata.config.ConfigChangeListener>public List<InetSocketAddress> refreshAliveLookup(String transactionServiceGroup, List<InetSocketAddress> aliveAddress)
refreshAliveLookup in interface RegistryService<org.apache.seata.config.ConfigChangeListener>public List<InetSocketAddress> lookup(String key) throws Exception
lookup in interface RegistryService<org.apache.seata.config.ConfigChangeListener>ExceptionCopyright © 2025 Apache. All rights reserved.