|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectflex.messaging.config.ServerSettings
public class ServerSettings
Server settings for a message destination.
| Constructor Summary | |
|---|---|
ServerSettings()
Creates a default ServerSettings instance. |
|
| Method Summary | |
|---|---|
boolean |
getAllowSubtopics()
Returns allow-subtopics property. |
int |
getMaxCacheSize()
Returns the max number of messages to maintain in memory cache. |
long |
getMessageTTL()
Returns the message-time-to-live property. |
String |
getSubtopicSeparator()
Returns the subtopic-separator property. |
boolean |
isBroadcastRoutingMode()
Returns cluster-message-routing property. |
boolean |
isDurable()
Returns whether destination is durable. |
void |
setAllowSubtopics(boolean value)
Sets allow-subtopics property. |
void |
setBroadcastRoutingMode(String routingMode)
Sets the cluster-message-routing property. |
void |
setDurable(boolean durable)
Sets whether destination is durable. |
void |
setMaxCacheSize(int size)
Sets the max number of messages to maintain in memory cache. |
void |
setMessageTTL(long ttl)
Sets the message-time-to-live property. |
void |
setSubtopicSeparator(String value)
Sets the subtopic-separator property. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServerSettings()
ServerSettings instance.
| Method Detail |
|---|
public boolean getAllowSubtopics()
allow-subtopics property.
allow-subtopics property.public void setAllowSubtopics(boolean value)
allow-subtopics property.
value - The value for allow-subtopics property.public boolean isBroadcastRoutingMode()
cluster-message-routing property.
cluster-message-routing property.public void setBroadcastRoutingMode(String routingMode)
cluster-message-routing property.
routingMode - server-to-server(default)
or broadcast.public int getMaxCacheSize()
public void setMaxCacheSize(int size)
size - The value for max-cache-size property.public long getMessageTTL()
message-time-to-live property.
message-time-to-live property.public void setMessageTTL(long ttl)
message-time-to-live property. Default value is -1.
ttl - The value for message-time-to-live property.public boolean isDurable()
true if destination is durable; otherwise false.public void setDurable(boolean durable)
false.
durable - The value for durable property.public String getSubtopicSeparator()
subtopic-separator property.
subtopic-separator property.public void setSubtopicSeparator(String value)
subtopic-separator property.
Optional; the default value is period.
value - The value for subtopic-separator property.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/blazeds/1/javadoc/flex/messaging/config/ServerSettings.html