Coordinator::hash_transaction

Overview Returns a hash value based on the transaction associated with the target object.
Original interface CosTransactions::Coordinator Interface


Intended Usage

Each transaction has a single hash value although multiple transactions may share the same value. Hash values for transactions should be uniformly distributed.

Syntax

  unsigned long hash_transaction();

Input parameters

None.

Return values

unsigned long
A hash value based on the transaction associated with the target object.

Examples

The following examples demonstrate the usage of CosTransactions::Coordinator::hash_transaction.

C++ Example

  CosTransactions::Coordinator *coord;
  unsigned long hashval;
  hashval = coord->hash_transaction();

Related reference
CosTransactions in the transaction service



Searchable topic ID:   rcor_ctsco7
Last updated: Jun 21, 2007 8:07:48 PM CDT    WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/corba/ref/rcor_ctsco7.html

Library | Support | Terms of Use | Feedback