| 
 | Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface MulticastParamsBean
Topics with certain quality of service allowments can receive a signifigant performance boost by using multicast to receive messages rather than using a connection oriented protocol like TCP. These parameters can be configured with the bean returned.
| Method Summary | |
|---|---|
| abstract  String | getMulticastAddress()The IP address that this topic uses to transmit messages to multicast consumers. | 
| abstract  int | getMulticastPort()The IP port that this topic uses to transmit messages to multicast consumers. | 
| abstract  int | getMulticastTimeToLive()The number of routers that a message traverses en route to a consumer. | 
| abstract  TemplateBean | getTemplateBean()Finds the template bean for this destination. | 
| abstract  void | setMulticastAddress(String address)Sets the value of the MulticastAddress attribute. | 
| abstract  void | setMulticastPort(int port)Sets the value of the MulticastPort attribute. | 
| abstract  void | setMulticastTimeToLive(int timeToLive)Sets the value of the MulticastTimeToLive attribute. | 
| Method Detail | 
|---|
String getMulticastAddress()
The IP address that this topic uses to transmit messages to multicast consumers.
void setMulticastAddress(String address)
                         throws IllegalArgumentException
Sets the value of the MulticastAddress attribute.
address - The multicast address to use with this topicIllegalArgumentException - if the argument is not a well-formed IP address.MulticastParamsBean.getMulticastAddress()int getMulticastPort()
The IP port that this topic uses to transmit messages to multicast consumers.
void setMulticastPort(int port)
                      throws IllegalArgumentException
Sets the value of the MulticastPort attribute.
port - The IP multicast port to be used with this topicIllegalArgumentExceptionMulticastParamsBean.getMulticastPort()int getMulticastTimeToLive()
The number of routers that a message traverses en route to a consumer. A value of 1 limits the message to one subnet (which prevents it from traversing any routers).
This value is independent of the JMSExpirationTime value.
void setMulticastTimeToLive(int timeToLive)
                            throws IllegalArgumentException
Sets the value of the MulticastTimeToLive attribute.
timeToLive - The multicast TTL value to be used with this topicIllegalArgumentExceptionMulticastParamsBean.getMulticastTimeToLive()TemplateBean getTemplateBean()
Finds the template bean for this destination.
| 
 | Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||