|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.candle.roma.kxc.RomaStoreOptions
This class encapsulates the options available when storing a message to a storage queue.
Constructor Summary | |
RomaStoreOptions()
Constructs a new instance with store options initialised to the default. |
Method Summary | |
void |
setApiProfileName(java.lang.String profile)
Associates an API profile with the put operation. |
void |
setCloseTheme(boolean flag)
Selects whether of not the theme is to be closed or retained in the put operation. |
void |
setNewTheme(boolean flag)
Selects whether or not a new theme will be allocated when applying these options. |
void |
setNoSyncAllowed(boolean flag)
Controls whether an MSMQ message can be placed outside syncpoint control. |
void |
setRetainTheme(boolean flag)
Selects whether or not the theme is to be closed or else retained in the put operation. |
void |
setSelector(int sel)
Sets the put selector. |
void |
setSyncpointDef(RomaSyncpointDef sync)
Specify sync point definitiion |
void |
setUseTheme(boolean flag)
Selects whether or not a new theme will be allocated when applying these options |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RomaStoreOptions()
Method Detail |
public void setSelector(int sel)
sel
- the new value of the put selector, one of :-
public void setNoSyncAllowed(boolean flag)
flag
- one of :-
public void setApiProfileName(java.lang.String profile)
profile
- the name of the API profile.public void setNewTheme(boolean flag)
flag
- if true then new theme allocation is enabled,
otherwise it is disabled. If disabled, the theme already
associated with the RomaMessage will be used.public void setUseTheme(boolean flag)
flag
- if true theme already associated with the
RomaMessage will be used. If false the new theme
allocation will be done.public void setRetainTheme(boolean flag)
flag
- if true then new retain the theme. Otherwise
close the theme.public void setCloseTheme(boolean flag)
flag
- if true close the theme otherwise retain the themepublic void setSyncpointDef(RomaSyncpointDef sync)
sync
- definition to be used.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |