|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.cics.server.API
com.ibm.cics.server.SynchronizationResource
com.ibm.cics.server.AddressResource
This class provides the implementation of synchronization based on the address of a data area.
This class is intended for cases where integration with an existing application that uses an address to ENQ. New applications should use the NameResource class.
As Java does not expose the address of a variable, it is used explicitly as an array of bytes.
Constructor Summary | |
---|---|
AddressResource()
Construct a default AddressResource. |
Method Summary | |
---|---|
void |
dequeue()
|
void |
enqueue()
|
byte[] |
getAddress()
Return the address used for the synchronization resource. |
void |
setAddress(byte[] address)
Sets the synchronization address |
void |
tryEnqueue()
|
Methods inherited from class com.ibm.cics.server.SynchronizationResource |
---|
getDescription, setDescription |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AddressResource()
Method Detail |
public void dequeue()
public void enqueue() throws ResourceUnavailableException
ResourceUnavailableException
public byte[] getAddress()
public void setAddress(byte[] address)
address
- the synchronization addresspublic void tryEnqueue() throws ResourceUnavailableException
ResourceUnavailableException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |