public class ReleaseLockEvent extends NamedEvent
Streamable.Closure| Constructor and Description |
|---|
ReleaseLockEvent(int targetOid,
String name)
Constructs a new release lock event for the specified target object with the supplied lock
name.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
applyToObject(DObject target)
Applies this lock release to the object.
|
boolean |
isPrivate()
Some events are used only internally on the server and need not be broadcast to subscribers,
proxy or otherwise.
|
getNamealreadyApplied, getActualTransport, getSourceOid, getTargetOid, getTransport, noteActualTransport, setSourceOid, setTargetOid, setTransport, toStringpublic ReleaseLockEvent(int targetOid,
String name)
targetOid - the object id of the object in question.name - the name of the lock to release.public boolean isPrivate()
DEventpublic boolean applyToObject(DObject target) throws ObjectAccessException
applyToObject in class DEventObjectAccessException - thrown if there is any problem applying the event to the
object (invalid attribute, etc.).Copyright © 2015. All rights reserved.