public class ClusterLinkListing extends Object
Constructor and Description |
---|
ClusterLinkListing(String linkName,
Uuid linkId,
String remoteClusterId,
String localClusterId,
Optional<Collection<String>> topics,
boolean available)
Creates an cluster link listing.
|
ClusterLinkListing(String linkName,
UUID linkId,
String remoteClusterId,
String localClusterId,
Optional<Collection<String>> topics,
boolean available)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
available() |
String |
clusterId()
The linked cluster's ID, or null if none.
|
Uuid |
clusterLinkId()
The Uuid of the cluster link that uniquely represents this cluster link.
|
boolean |
equals(Object o) |
int |
hashCode() |
UUID |
linkId()
Deprecated.
|
String |
linkName()
The link name for the cluster link.
|
String |
localClusterId() |
String |
remoteClusterId() |
Optional<Collection<String>> |
topics()
The topics that are linked with the cluster link, otherwise if empty, then the
topics weren't requested.
|
String |
toString() |
@Deprecated public ClusterLinkListing(String linkName, UUID linkId, String remoteClusterId, String localClusterId, Optional<Collection<String>> topics, boolean available)
linkName
- The link name for the cluster linklinkId
- The UUID associated with the cluster linkremoteClusterId
- linked cluster's ID, or null if not known.localClusterId
- Local cluster id.topics
- The topics that are linked with the cluster link, otherwise if
none, then the topics weren't requested.available
- Can the local cluster talk to the linked cluster or notpublic ClusterLinkListing(String linkName, Uuid linkId, String remoteClusterId, String localClusterId, Optional<Collection<String>> topics, boolean available)
linkName
- The link name for the cluster linklinkId
- The Uuid that uniquely identifies this cluster linkremoteClusterId
- linked cluster's ID, or null if not known.localClusterId
- Local cluster id.topics
- The topics that are linked with the cluster link, otherwise if
none, then the topics weren't requested.available
- Can the local cluster talk to the linked cluster or notpublic String linkName()
@Deprecated public UUID linkId()
clusterLinkId()
.public Uuid clusterLinkId()
public String clusterId()
remoteClusterId()
public String remoteClusterId()
public String localClusterId()
public boolean available()
public Optional<Collection<String>> topics()