Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client Java API Programmer's Guide | Load Balancing and Failover for Publish Operations | Obtaining BrokerClusterPublisher Status
 
Obtaining BrokerClusterPublisher Status
There are a variety of methods you can use to obtain state, status, and statistical information about a BrokerClusterPublisher object.
*Use the BrokerClusterPublisher .getApplicationName method to obtain the name of the application associated with this BrokerClusterPublisher.
*Use the BrokerClusterPublisher.getClientGroup method to obtain the name of the client group with BrokerClusterPublisher is associated.
*Use the BrokerClusterPublisher.getClientId method to obtain the BrokerClusterPublisher client ID.
*Use the BrokerClusterPublisher.getMonitorClientId method to obtain the BrokerClusterPublisher Cluster Monitor's client ID.
*Use the BrokerClusterPublisher.getTerritoryName method to obtain the name of the territory.
*Use the BrokerClusterPublisher.canPublish method to determine whether a BrokerClusterPublisher can publish an event of a specific event type.
*Use the BrokerClusterPublisher.getCanPublishNames method to get a list of all event types that can be published by the BrokerClusterPublisher.
*Use the BrokerClusterPublisher.getClusterPublisherInfo method to obtain a string that contains information on Broker clients on the Broker cluster publisher pool and other cluster information of the BrokerClusterPublisher in the form of an event.
*Use the BrokerClusterPublisher.getClusterPublisherStats method to obtain the statistics on the number of events published, delivered and received along with other useful information of the BrokerClusterPublisher.
*Use the BrokerClusterPublisher.toString method to obtain a string that contains information on Broker clients on the Broker cluster publisher pool and other cluster information of the BrokerClusterPublisher.
*Use the BrokerClusterPublisher.isConnected method to determine whether a BrokerClusterPublisher is currently connected to a Broker.