com.sun.sgs.profile
Interface AccessedObjectsDetail

All Known Implementing Classes:
LockingAccessCoordinator.LockerImpl

public interface AccessedObjectsDetail

An interface accessible through a ProfileReport that details the collection of object accesses that occurred during the associated transaction. If that transaction failed due to some kind of conflict, then the type of failure and conflicting task is also identified.


Nested Class Summary
static class AccessedObjectsDetail.ConflictType
          Identifies a known type of conflict.
 
Method Summary
 List<AccessedObject> getAccessedObjects()
          The collection of requested object accesses.
 byte[] getConflictingId()
          Returns the identifier of the transaction that caused this access to fail, if any and if known.
 AccessedObjectsDetail.ConflictType getConflictType()
          The type of conflict, if any, caused by these object accesses.
 

Method Detail

getAccessedObjects

List<AccessedObject> getAccessedObjects()
The collection of requested object accesses. The order is the same as the order in which the objects were requested in the transaction.

Returns:
a List of AccessedObjects

getConflictType

AccessedObjectsDetail.ConflictType getConflictType()
The type of conflict, if any, caused by these object accesses.

Returns:
the ConflictType

getConflictingId

byte[] getConflictingId()
Returns the identifier of the transaction that caused this access to fail, if any and if known.

Returns:
identifier for the successful transaction that caused conflict, or null if there was no conflict or the accessor is unknown

RedDwarf, Version 0.10.1
2010-03-14 10:56:12

Copyright © 2010 The RedDwarf Authors. All rights reserved
Copyright © 2007-2010 Sun Microsystems, Inc. All rights reserved