String function ( ) { final Lock loc0 = entityManager . find ( Lock . class , applicationId ) ; if ( loc0 != null ) { return loc0 . getUniqueId ( ) ; } return null ; }
gets the current owner of the lock as determined by querying for uniqueid . concode_field_sep EntityManager entityManager concode_elem_sep Logger logger concode_elem_sep int lockTimeout concode_elem_sep int DEFAULT_LOCK_TIMEOUT concode_elem_sep String applicationId concode_elem_sep String uniqueId concode_elem_sep Date expirationDate concode_field_sep String getApplicationId concode_elem_sep void release concode_elem_sep void setApplicationId concode_elem_sep void setApplicationId concode_elem_sep DateTime getExpirationDate concode_elem_sep String toString concode_elem_sep void setUniqueId concode_elem_sep void setUniqueId concode_elem_sep boolean acquire concode_elem_sep boolean acquire concode_elem_sep void setLockTimeout concode_elem_sep String getUniqueId concode_elem_sep void setExpirationDate