|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.as400.access.DataQueueAttributes
public class DataQueueAttributes extends Object implements Serializable
The DataQueueAttributes class represents a data queue attributes object.
| Constructor and Description |
|---|
DataQueueAttributes()
|
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a listener to be notified when the value of any bound property changes. |
void |
addVetoableChangeListener(VetoableChangeListener listener)
Adds a listener to be notified when the value of any constrained property changes. |
String |
getAuthority()
Returns the public authority of the data queue. |
String |
getDescription()
Returns the text description of the data queue. |
int |
getEntryLength()
Returns the maximum entry length of the data queue. |
int |
getKeyLength()
Returns the byte length of the keys of the data queue. |
boolean |
isFIFO()
Returns a value that indicates if entries are read in FIFO order. |
boolean |
isForceToAuxiliaryStorage()
Returns a value that indicates if entries are forced to auxiliary storage. |
boolean |
isSaveSenderInfo()
Returns whether sender information is stored with each data queue entry. |
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener. |
void |
removeVetoableChangeListener(VetoableChangeListener listener)
Removes a vetoable change listener. |
void |
setAuthority(String authority)
Sets the public authority of the data queue. |
void |
setDescription(String description)
Sets the text description of the data queue. |
void |
setEntryLength(int entryLength)
Sets the maximum number of bytes per data queue entry. |
void |
setFIFO(boolean FIFO)
Sets a value that indicates if entries are read in FIFO order. |
void |
setForceToAuxiliaryStorage(boolean forceToAuxiliaryStorage)
Sets a value that indicates if entries are forced to auxiliary storage. |
void |
setKeyLength(int keyLength)
Sets the number of bytes per data queue key. |
void |
setSaveSenderInfo(boolean saveSenderInfo)
Sets whether sender information is stored with each data queue entry. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataQueueAttributes()
| Method Detail |
|---|
public void addPropertyChangeListener(PropertyChangeListener listener)
listener - The listener.public void addVetoableChangeListener(VetoableChangeListener listener)
listener - The listener.public String getAuthority()
public String getDescription()
public int getEntryLength()
public int getKeyLength()
public boolean isFIFO()
public boolean isForceToAuxiliaryStorage()
public boolean isSaveSenderInfo()
public void removePropertyChangeListener(PropertyChangeListener listener)
listener - The listener.public void removeVetoableChangeListener(VetoableChangeListener listener)
listener - The listener.
public void setAuthority(String authority)
throws PropertyVetoException
authority - The public authority of the data queue. Valid values are *ALL, *CHANGE, *EXCLUDE, *USE, *LIBCRTAUT.PropertyVetoException - If the change is vetoed.
public void setDescription(String description)
throws PropertyVetoException
description - The text description. This string must be 50 characters or less.PropertyVetoException - If the change is vetoed.
public void setEntryLength(int entryLength)
throws PropertyVetoException
entryLength - The maximum number of bytes per data queue entry. Valid values are 1-64512.PropertyVetoException - If the change is vetoed.
public void setFIFO(boolean FIFO)
throws PropertyVetoException
FIFO - true if queue entries are processed in FIFO order; false otherwise.PropertyVetoException - If the change is vetoed.
public void setForceToAuxiliaryStorage(boolean forceToAuxiliaryStorage)
throws PropertyVetoException
forceToAuxiliaryStorage - true if writes are forced to storage before return; false otherwise.PropertyVetoException - If the change is vetoed.
public void setKeyLength(int keyLength)
throws PropertyVetoException
keyLength - The number of bytes per data queue key. Valid values are 1-256.PropertyVetoException - If the change is vetoed.
public void setSaveSenderInfo(boolean saveSenderInfo)
throws PropertyVetoException
saveSenderInfo - true if sender information is saved; false otherwise.PropertyVetoException - If the change is vetoed.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||