|
||||||||||
| 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
| Constructor Summary | |
|---|---|
ServerSettings()
Creates a default ServerSettings instance. |
|
| Method Summary | |
|---|---|
boolean |
getAllowSubtopics()
Returns allow-subtopics property. |
int |
getBatchWriteSize()
Returns the batch-write-size property. |
String |
getDurableStoreManager()
Returns the durable-store-manager property. |
String |
getFileStoreRoot()
Returns file-store-root property. |
int |
getMaxCacheSize()
Returns the max number of messages to maintain in memory cache. |
String |
getMaxFileSize()
Returns max-file-size property. |
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 |
setBatchWriteSize(int size)
Sets the batch-write-size property which is the number of
durable message files to write in each batch. |
void |
setBroadcastRoutingMode(String routingMode)
Sets the cluster-message-routing property. |
void |
setDurable(boolean durable)
Sets whether destination is durable. |
void |
setDurableStoreManager(String type)
Sets the durable-store-manager property. |
void |
setFileStoreRoot(String root)
Sets file-store-root property. |
void |
setMaxCacheSize(int size)
Sets the max number of messages to maintain in memory cache. |
void |
setMaxFileSize(String size)
Sets max-file-size property which is maximum file size in
kilobytes for durable message files. |
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.
public void setAllowSubtopics(boolean value)
allow-subtopics property.
value - public boolean isBroadcastRoutingMode()
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 - public long getMessageTTL()
message-time-to-live property.
public void setMessageTTL(long ttl)
message-time-to-live property. Default value is -1.
ttl - public boolean isDurable()
true if destination is durable; otherwise false.public void setDurable(boolean durable)
false.
durable - public String getDurableStoreManager()
durable-store-manager property.
public void setDurableStoreManager(String type)
durable-store-manager property.
Default value is flex.messaging.durability.FileStoreManager.
type - public String getFileStoreRoot()
file-store-root property.
public void setFileStoreRoot(String root)
file-store-root property.
root - public String getMaxFileSize()
max-file-size property.
public void setMaxFileSize(String size)
max-file-size property which is maximum file size in
kilobytes for durable message files. Default value is 200K.
size - public int getBatchWriteSize()
batch-write-size property.
public void setBatchWriteSize(int size)
batch-write-size property which is the number of
durable message files to write in each batch. Default value is zero.
size - public String getSubtopicSeparator()
subtopic-separator property.
public void setSubtopicSeparator(String value)
subtopic-separator property.
Optional; the default value is period.
value -
|
||||||||||
| 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/livecycle/es/sdkHelp/programmer/lcdsjavadoc/flex/messaging/config/ServerSettings.html