|
TIBCO Enterprise Message Service | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tibco.tibjms.admin.DestinationInfo
com.tibco.tibjms.admin.TopicInfo
public class TopicInfo
This class represents a topic that is configured on the EMS server.
Field Summary |
---|
Fields inherited from class com.tibco.tibjms.admin.DestinationInfo |
---|
ALL_TYPE, DEST_GET_ALL, DEST_GET_DYNAMIC, DEST_GET_NOTEMP, DEST_GET_STATIC, MSG_TRACE_BASIC, MSG_TRACE_DETAIL, MSG_TRACE_NONE, OVERFLOW_DEFAULT, OVERFLOW_DISCARD_OLD, OVERFLOW_REJECT_INCOMING, PREFETCH_DEFAULT, PREFETCH_NONE, QUEUE_TYPE, TOPIC_TYPE |
Constructor Summary | |
---|---|
TopicInfo(java.lang.String topicName)
The public constructor creates a TopicInfo object with the given name. |
Method Summary | |
---|---|
void |
addExportTransport(java.lang.String transportName)
Add a new export transport to the list of transports this destination exports messages to. |
boolean |
areExportTransportsInherited()
Deprecated. This method has been misnamed and replaced by isExportTransportsInherited() . |
int |
getActiveDurableCount()
Get the current number of active durable subscribers for this topic. |
java.lang.String |
getChannel()
Get the multicast channel for this topic. |
int |
getDurableCount()
Get the current number of durable subscribers for this topic. |
java.lang.String[] |
getExportTransports()
Get the names of the transports that this topic exports messages on. |
int |
getSubscriberCount()
Get the current number of subscribers for this topic. |
boolean |
isChannelInherited()
Determine if the channel property was inherited from a parent topic or set directly for this topic. |
boolean |
isExportTransportsInherited()
Determines if the list of transports this topic exports messages on was inherited from a parent topic or whether it was set on the topic directly. |
boolean |
isMulticastEnabled()
Determine if this topic is multicast-enabled. |
void |
removeExportTransport(java.lang.String transportName)
Remove an export transport from the list of transports this destination exports messages to. |
void |
setChannel(java.lang.String channel)
Set the multicast channel for this topic. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TopicInfo(java.lang.String topicName)
topicName
- The name for the topic being created.Method Detail |
---|
public java.lang.String[] getExportTransports()
public boolean areExportTransportsInherited()
isExportTransportsInherited()
.
public boolean isExportTransportsInherited()
public void addExportTransport(java.lang.String transportName) throws TibjmsAdminInvalidNameException
transportName
- the name of the transport.
TibjmsAdminInvalidNameException
- if transportName is not a legal
transport namepublic void removeExportTransport(java.lang.String transportName) throws TibjmsAdminInvalidNameException, TibjmsAdminException
transportName
- the name of the transport.
TibjmsAdminInvalidNameException
- if transportName is not a legal
transport name
TibjmsAdminException
- if export transports is inheritedpublic int getSubscriberCount()
public int getDurableCount()
public int getActiveDurableCount()
public void setChannel(java.lang.String channel)
channel
- the multicast channel for this topic,
null
or empty to remove the multicast channel.public java.lang.String getChannel()
public boolean isChannelInherited()
true
if the channel property is inherited.public boolean isMulticastEnabled()
true
if this topic is multicast-enabled.public java.lang.String toString()
toString
in class java.lang.Object
|
TIBCO Enterprise Message Service | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |