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.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
available() |
String |
clusterId()
The linked cluster's ID, or null if none.
|
boolean |
equals(Object o) |
int |
hashCode() |
UUID |
linkId()
The UUID associated with the cluster link.
|
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() |
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 String linkName()
public UUID linkId()
public String clusterId()
remoteClusterId()public String remoteClusterId()
public String localClusterId()
public boolean available()
public Optional<Collection<String>> topics()