public class MaestroTopics extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
MAESTRO_LOGS_TOPIC
The topic used for log publication
|
static String |
MAESTRO_TOPIC
This topic is used to publish the peer responses for a maestro request
|
static String[] |
MAESTRO_TOPICS
These topics are the ones subscribed by a Maestro client
|
static String |
NOTIFICATION_TOPIC
This topic is used by the peers to send notifications
|
static String |
PEER_TOPIC
This topic is used to publish the peer responses for a maestro request
|
static String |
WORKERS_TOPIC
This topic addresses all worker peers
|
| Modifier and Type | Method and Description |
|---|---|
static String[] |
agentTopics(String id,
PeerInfo peerInfo) |
static String[] |
inspectorTopics(String id,
PeerInfo peerInfo) |
static String |
peerTopic(GroupInfo groupInfo)
Get the peer specific topic by name and host
|
static String |
peerTopic(PeerInfo peerInfo)
Get the peer specific topic by id
|
static String |
peerTopic(Role role)
Get the role-specific topic
|
static String |
peerTopic(String id)
Get the peer specific topic by id
|
static String |
peerTopic(String clientName,
String host)
Get the peer specific topic by name and host
|
static String[] |
peerTopics(String id)
Get the peer specific topic by id
|
static String[] |
peerTopics(String[] publicTopics,
PeerInfo peerInfo,
String id)
Returns the full list of topics for a peer including the public and private topics (those that are specific
to that peer)
|
public static final String MAESTRO_TOPIC
public static final String MAESTRO_LOGS_TOPIC
public static final String NOTIFICATION_TOPIC
public static final String PEER_TOPIC
public static final String WORKERS_TOPIC
public static final String[] MAESTRO_TOPICS
public static String[] peerTopics(String[] publicTopics, PeerInfo peerInfo, String id)
publicTopics - The topics that are public to all peerspeerInfo - the peer information containerid - the peer IDpublic static String peerTopic(String clientName, String host)
clientName - the client namehost - the hostname for the peerpublic static String[] peerTopics(String id)
id - the peer idpublic static String peerTopic(GroupInfo groupInfo)
groupInfo - group informationpublic static String peerTopic(String id)
id - peer idpublic static String peerTopic(PeerInfo peerInfo)
peerInfo - the peer information containerpublic static String peerTopic(Role role)
role - the peer roleThis documentation was released into the public domain.