question: protected static Boolean tryToLock ( String serviceName ) { DistributedLockService service = DistributedLockService . getServiceNamed ( serviceName ) ; boolean locked = service . lock ( "obj" , 1000 , - 1 ) ; if ( locked ) { service . unlock ( "obj" ) ; } return Boolean . valueOf ( locked ) ; }
target:  Accessed via reflection. DO NOT REMOVE