|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.tango.server.device.DeviceLock
public final class DeviceLock
Manage a tango device synchronization.
TransactionType
Constructor Summary | |
---|---|
DeviceLock(TransactionType txType,
java.lang.Class<?> deviceClass)
Ctr |
Method Summary | |
---|---|
void |
lockAttribute()
obtain lock for attribute |
void |
lockCommand()
Obtain lock for command |
void |
unlockAttribute()
Release lock for attribute |
void |
unlockCommand()
release lock for command |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DeviceLock(TransactionType txType, java.lang.Class<?> deviceClass)
txType
- lock typedeviceClass
- the class to lockMethod Detail |
---|
public void lockAttribute()
public void unlockAttribute()
public void lockCommand()
public void unlockCommand()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |