UM Java API
6.16.1
|
Public Member Functions | |
LBMHFXAttributes () throws LBMException | |
LBMHFXAttributes (String topicName) throws LBMException | |
void | setFromXml (String topicName) throws LBMException |
synchronized void | dispose () |
LBMConfigOption[] | dumpAttributeList () |
String | getValue (String attributeName) throws LBMException |
void | setValue (String attributeName, String attributeValue) throws LBMException |
Object | setProperty (String attributeName, String attributeValue) |
void | load (InputStream inStream) throws IOException |
void | setObjectRecycler (LBMObjectRecyclerBase objRec, Object objRecCbArg) |
Protected Member Functions | |
void | finalize () |
Encapsulates the set of default LBM receiver attributes.
com.latencybusters.lbm.LBMHFXAttributes.LBMHFXAttributes | ( | ) | throws LBMException |
Create an LBMHFXAttributes object with the current default values
LBMException |
com.latencybusters.lbm.LBMHFXAttributes.LBMHFXAttributes | ( | String | topicName | ) | throws LBMException |
Create and fill an LBMHFXAttributes object with the current default values for the given HFX topic name.
topicName | The topic name to be used to create the LBMHFX object. |
LBMException | if the HFX topic name is not permitted by the XML configuration. |
synchronized void com.latencybusters.lbm.LBMHFXAttributes.dispose | ( | ) |
Free memory associated with this set of attributes.
Referenced by com.latencybusters.lbm.LBMHFXAttributes.finalize().
LBMConfigOption [] com.latencybusters.lbm.LBMHFXAttributes.dumpAttributeList | ( | ) |
Returns an array of LBMConfigOptions
|
protected |
This method is for internal use only, and is not supported for customer applications.
References com.latencybusters.lbm.LBMHFXAttributes.dispose().
String com.latencybusters.lbm.LBMHFXAttributes.getValue | ( | String | attributeName | ) | throws LBMException |
Returns the current value of an attribute from this set of HFX attributes.
attributeName | Name of the attribute to retrieve |
LBMException | if attributeName is not a valid attribute. |
void com.latencybusters.lbm.LBMHFXAttributes.load | ( | InputStream | inStream | ) | throws IOException |
Reads a property (attribute) list (key and element pairs) from the input stream.
inStream | Input stream of bytes |
IOException | if any I/O error occurs. |
LBMRuntimeException | if any invalid attribute is detected in inStream . |
References com.latencybusters.lbm.LBMHFXAttributes.setProperty().
void com.latencybusters.lbm.LBMHFXAttributes.setFromXml | ( | String | topicName | ) | throws LBMException |
Fill an LBMHFXAttributes object with the default values for the given HFX topic name specified by XML configuration.
topicName | The topic name to be used to create the LBMHFX object. |
LBMException | if the HFX topic name is not permitted by the XML configuration. |
void com.latencybusters.lbm.LBMHFXAttributes.setObjectRecycler | ( | LBMObjectRecyclerBase | objRec, |
Object | objRecCbArg | ||
) |
Set the LBM object recycler that can be used by the context to reuse LBMMessage objects as well as LBM Context/Receiver/Source Statistics objects.
objRec | an LBM object recycler that will be called when objects need to be retrieved |
objRecCbArg | a callback object token that will be passed in the retrieve method |
Object com.latencybusters.lbm.LBMHFXAttributes.setProperty | ( | String | attributeName, |
String | attributeValue | ||
) |
Set the current value of an attribute in this set of HFX attributes.
attributeName | Name of the attribute to set |
attributeValue | New attribute value |
LBMRuntimeException | if attributeName is not a valid attribute, or attributeValue is not a valid value for attributeName . |
References com.latencybusters.lbm.LBMHFXAttributes.setValue().
Referenced by com.latencybusters.lbm.LBMHFXAttributes.load().
void com.latencybusters.lbm.LBMHFXAttributes.setValue | ( | String | attributeName, |
String | attributeValue | ||
) | throws LBMException |
FOR INTERNAL INFORMATICA USE ONLY - NOT FOR DIRECT APPLICATION USEAGE. Applications should use setProperty() instead. Set the current value of an attribute in this set of HFX attributes. Note that this method bypasses the property list. As such no attributes configured using this method will appear in the property list.
attributeName | Name of the attribute to set |
attributeValue | New attribute value |
LBMException | if attributeName is not a valid attribute, or attributeValue is not a valid value for attributeName . |
Referenced by com.latencybusters.lbm.LBMHFXAttributes.setProperty().