| 
xmlBlaster 2.2.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xmlBlaster.client.qos.EraseQos
public final class EraseQos
This class encapsulates the QoS of an erase() request.
A full specified erase qos could look like this:<qos> <erase forceDestroy='false'/> </qos>see xmlBlaster/src/dtd/XmlQoS.xml
QueryQosData, 
QueryQosSaxFactory, 
erase interface| Field Summary | |
|---|---|
private  Global | 
glob
 | 
private  java.lang.String | 
ME
 | 
private  QueryQosData | 
queryQosData
 | 
| Constructor Summary | |
|---|---|
EraseQos(Global glob)
Constructor for default qos (quality of service).  | 
|
EraseQos(Global glob,
         QueryQosData queryQosData)
Constructor for internal use.  | 
|
| Method Summary | |
|---|---|
 void | 
addClientProperty(java.lang.String key,
                  java.lang.Object value)
Sets a client property (an application specific property) to the given value  | 
 ClientProperty | 
getClientProperty(java.lang.String key)
Read back a property.  | 
 QueryQosData | 
getData()
Access the wrapped data holder  | 
 void | 
setForceDestroy(boolean forceDestroy)
Defaults to false: If a topic is still referenced by callback messages it will be not erased immediately but we wait until all pending messages are delivered.  | 
 void | 
setPersistent(boolean persistent)
Mark the erase request to be persistent.  | 
 java.lang.String | 
toString()
Converts the data into a valid XML ASCII string.  | 
 java.lang.String | 
toXml()
Converts the data into a valid XML ASCII string.  | 
 java.lang.String | 
toXml(java.util.Properties props)
Converts the data into a valid XML ASCII string.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
private java.lang.String ME
private final Global glob
private final QueryQosData queryQosData
| Constructor Detail | 
|---|
public EraseQos(Global glob)
public EraseQos(Global glob,
                QueryQosData queryQosData)
queryQosData - The struct holding the data| Method Detail | 
|---|
public QueryQosData getData()
public void setForceDestroy(boolean forceDestroy)
public void setPersistent(boolean persistent)
NOTE: The request is only persistent in the client side queue if we are polling for xmlBlaster.
public void addClientProperty(java.lang.String key,
                              java.lang.Object value)
key - value - public ClientProperty getClientProperty(java.lang.String key)
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toXml()
public java.lang.String toXml(java.util.Properties props)
  | 
xmlBlaster 2.2.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||