|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.Dictionary<K,V>
java.util.Hashtable<java.lang.Object,java.lang.Object>
java.util.Properties
com.latencybusters.lbm.LBMEventQueueAttributes
public class LBMEventQueueAttributes
Encapsulates the set of default LBM event queue attributes.
| Field Summary |
|---|
| Fields inherited from class java.util.Properties |
|---|
defaults |
| Constructor Summary | |
|---|---|
LBMEventQueueAttributes()
Create an LBMEventQueueAttributes object with the current default values |
|
LBMEventQueueAttributes(java.lang.String eventQueueName)
Create and fill an LBMEventQueueAttributes object with the current default values for the given event queue name. |
|
| Method Summary | |
|---|---|
void |
dispose()
Free memory associated with this set of attributes. |
LBMConfigOption[] |
dumpAttributeList()
Returns an array of LBMConfigOptions. |
protected void |
finalize()
|
java.lang.String |
getValue(java.lang.String attributeName)
Returns the current value of an attribute from this set of event queue attributes. |
void |
load(java.io.InputStream inStream)
Reads a property (attribute) list (key and element pairs) from the input stream. |
void |
setFromXml(java.lang.String eventQueueName)
Fill an LBMEventQueueAttributes object with the default values for the given event queue name specified by the XML configuration. |
void |
setObjectRecycler(LBMObjectRecyclerBase objRec,
java.lang.Object objRecCbArg)
Set the LBM object recycler that can be used by the event queue to reuse statistics objects. |
java.lang.Object |
setProperty(java.lang.String attributeName,
java.lang.String attributeValue)
Set the current value of an attribute in this set of event queue attributes. |
void |
setValue(java.lang.String attributeName,
java.lang.String attributeValue)
Set the current value of an attribute in this set of event queue attributes. |
| Methods inherited from class java.util.Properties |
|---|
getProperty, getProperty, list, list, load, loadFromXML, propertyNames, save, store, store, storeToXML, storeToXML, stringPropertyNames |
| Methods inherited from class java.util.Hashtable |
|---|
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LBMEventQueueAttributes(java.lang.String eventQueueName)
throws LBMException
eventQueueName - Event queue name string. Is written into the attributes object.
LBMException - if the eventQueueName is not permitted by the configuration or other operational failure.
public LBMEventQueueAttributes()
throws LBMException
LBMException - for operational failure.| Method Detail |
|---|
public void setFromXml(java.lang.String eventQueueName)
throws LBMException
eventQueueName - Event queue name string. Is written into the attributes object.
LBMException - if the eventQueueName is not permitted by the configuration or other operational failure.protected void finalize()
finalize in class java.lang.Objectpublic void dispose()
public LBMConfigOption[] dumpAttributeList()
public java.lang.String getValue(java.lang.String attributeName)
throws LBMException
attributeName - Name of the attribute to retrieve
LBMException - if attributeName is not a valid attribute.
public void setValue(java.lang.String attributeName,
java.lang.String attributeValue)
throws LBMException
attributeName - Name of the attribute to setattributeValue - New attribute value
LBMException - if attributeName is not a valid attribute,
or attributeValue is not a valid value for attributeName.setProperty(java.lang.String, java.lang.String)
public java.lang.Object setProperty(java.lang.String attributeName,
java.lang.String attributeValue)
setProperty in class java.util.PropertiesattributeName - Name of the attribute to setattributeValue - New attribute value
LBMRuntimeException - if attributeName is not a valid attribute,
or attributeValue is not a valid value for attributeName.
public void load(java.io.InputStream inStream)
throws java.io.IOException
load in class java.util.PropertiesinStream - Input stream of bytes
java.io.IOException - if any I/O error occurs.
LBMRuntimeException - if any invalid attribute is detected in inStream.
public void setObjectRecycler(LBMObjectRecyclerBase objRec,
java.lang.Object objRecCbArg)
objRec - an LBM object recycler that will be called when objects need to be retrievedobjRecCbArg - a callback object token that will be passed in the retrieve method
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||