public class Node extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Node.Endpoint |
| Constructor and Description |
|---|
Node() |
| Modifier and Type | Method and Description |
|---|---|
Node.Endpoint |
createEndpoint(String host,
int port,
String protocol) |
Node.Endpoint |
getControl() |
String |
getGroup() |
Map<String,Object> |
getMetadata() |
ClusterRole |
getRole() |
Node.Endpoint |
getTransaction() |
void |
setControl(Node.Endpoint control) |
void |
setGroup(String group) |
void |
setMetadata(Map<String,Object> metadata) |
void |
setRole(ClusterRole role) |
void |
setTransaction(Node.Endpoint transaction) |
public Node.Endpoint createEndpoint(String host, int port, String protocol)
public String getGroup()
public void setGroup(String group)
public ClusterRole getRole()
public void setRole(ClusterRole role)
public Node.Endpoint getControl()
public void setControl(Node.Endpoint control)
public Node.Endpoint getTransaction()
public void setTransaction(Node.Endpoint transaction)
Copyright © 2023 Seata. All rights reserved.