Coordinator::hash_top_level_transaction

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


Intended Usage

Each transaction has a single hash value. Hash values for transactions should be uniformly distributed. This operation is equivalent to the Coordinator::hash_transaction Operation when the transaction associated with the target object is a top-level transaction.

Syntax

  unsigned long hash_top_level_tran();

Input parameters

None.

Return values

unsigned long
A hash value based on the top-level ancestor of the transaction associated with the target object.

Examples

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

C++ Example

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

Related reference
CosTransactions in the transaction service



Searchable topic ID:   rcor_ctsco6
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_ctsco6.html

Library | Support | Terms of Use | Feedback