|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.io.datastore.Lock
public class Lock
Represents a lock that has been acquired by a LockFeature
or a GetFeatureWithLock
request.
Constructor Summary | |
---|---|
Lock(java.lang.String lockId,
java.util.Set<java.lang.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. |
java.lang.String |
getId()
Returns the unique lock identifier. |
java.util.Set<java.lang.String> |
getLockedFids()
Returns the ids of the features that are locked by this lock. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
Lock(java.lang.String lockId, java.util.Set<java.lang.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 java.lang.String getId()
public java.util.Set<java.lang.String> getLockedFids()
long getExpiryTime()
public java.lang.String toString()
toString
in class java.lang.Object
|
deegree 2.5 (2011/06/29 09:44 build-8-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://www.deegree.org