question: @ Nullable GridCacheMvccCandidate addEntry ( GridLocalCacheEntry entry ) throws GridCacheEntryRemovedException { GridCacheMvccCandidate c = entry . addLocal ( threadId , lockVer , null , null , timeout , ! inTx ( ) , inTx ( ) , implicitSingle ( ) , true ) ; entries . add ( entry ) ; if ( c == null && timeout < 0 ) { if ( log . isDebugEnabled ( ) ) log . debug ( "Failed to acquire lock with negative timeout: " + entry ) ; onFailed ( ) ; return null ; } if ( c != null ) { entry . readyLocal ( c ) ; } return c ; }
target:  Adds entry to future.