|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.sgs.impl.profile.util.TransactionId
public final class TransactionId
A utility that wraps a transaction identifier (an array of bytes) by
assuming that the identifier represents a non-negative long value. This
is particularly useful for ProfileListeners that want to key off
of transaction identifiers. Each transaction's identifier is available
from its associated ProfileReport.
| Constructor Summary | |
|---|---|
TransactionId(byte[] txnId)
Creates an instance of TransactionId. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TransactionId(byte[] txnId)
TransactionId.
txnId - the transaction identifier| Method Detail |
|---|
public String toString()
toString in class Objectpublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
RedDwarf, Version 0.10.1 2010-03-14 10:56:12 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||