- <init>
These grants should not be constructed by users. Only the lock service should
hand them out.
- getLocks
Returns the set of locks which were successfully acquired, as a mapping from
descriptor to lock mode
- getGrantId
Returns the grant ID.
- getClient
Always returns null. Lock grants are not held by a client.
- getExpirationDateMs
Returns the time, in milliseconds since the epoch, when this token will expire
and become invalid.
- getLockDescriptors
- getLockTimeout
Returns the amount of time that it takes for these locks to expire.
- getVersionId
Returns the version ID for this token, or null if no version ID was specified.
- refresh
This should only be called by the Lock Service. Calling this method won't
actually refresh the grant