public abstract class AbstractLockDecree extends java.lang.Object implements LockDecree, java.io.Externalizable
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
id |
Modifier | Constructor and Description |
---|---|
protected |
AbstractLockDecree() |
protected |
AbstractLockDecree(java.lang.String id,
org.jgroups.Address address) |
Modifier and Type | Method and Description |
---|---|
org.jgroups.Address |
getAddress()
Returns the address of the node that requested the lock
|
void |
readExternal(java.io.ObjectInput input) |
void |
writeExternal(java.io.ObjectOutput output) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
vote
protected java.lang.String id
protected AbstractLockDecree(java.lang.String id, org.jgroups.Address address)
protected AbstractLockDecree()
public org.jgroups.Address getAddress()
LockDecree
getAddress
in interface LockDecree
LockDecree.getAddress()
public void writeExternal(java.io.ObjectOutput output) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
Externalizable.writeExternal(java.io.ObjectOutput)
public void readExternal(java.io.ObjectInput input) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
Externalizable.readExternal(java.io.ObjectInput)