|
deegree 2.2 (2008/12/22 11:33 build-3038-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree.io.datastore.Lock
public class Lock
Represents a lock that has been acquired by a LockFeature
or a GetFeatureWithLock
request.
Constructor Summary | |
---|---|
Lock(String lockId,
Set<String> lockedFids,
long expiryTime)
Creates a new Lock from the given parameters. |
Method Summary | |
---|---|
(package private) long |
getExpiryTime()
Returns the point in time when this lock will automatically expire. |
String |
getId()
Returns the unique lock identifier. |
Set<String> |
getLockedFids()
Returns the ids of the features that are locked by this lock. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
Lock(String lockId, Set<String> lockedFids, long expiryTime)
Lock
from the given parameters.
lockId
- id of the lock (must be unique)lockedFids
- locked feature idsexpiryTime
- point in time when the Lock
expires automaticallyMethod Detail |
---|
public String getId()
public Set<String> getLockedFids()
long getExpiryTime()
public String toString()
toString
in class Object
|
deegree 2.2 (2008/12/22 11:33 build-3038-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net