|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.sgs.impl.util.lock.LockConflict<K>
K - the type of keypublic final class LockConflict<K>
A class for representing a conflict resulting from a lock request made to a
LockManager.
| Field Summary | |
|---|---|
(package private) Locker<K> |
conflictingLocker
A locker that caused the conflict. |
(package private) LockConflictType |
type
The type of conflict. |
| Constructor Summary | |
|---|---|
LockConflict(LockConflictType type,
Locker<K> conflictingLocker)
Creates an instance of this class. |
|
| Method Summary | |
|---|---|
Locker<K> |
getConflictingLocker()
Returns a transaction that caused the conflict. |
LockConflictType |
getType()
Returns the type of conflict. |
String |
toString()
Returns a string representation of this instance, for debugging. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
final LockConflictType type
final Locker<K> conflictingLocker
| Constructor Detail |
|---|
public LockConflict(LockConflictType type,
Locker<K> conflictingLocker)
type - the type of conflictconflictingLocker - a locker that caused the conflict| Method Detail |
|---|
public LockConflictType getType()
public Locker<K> getConflictingLocker()
public String toString()
toString 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 | |||||||||