@ Override public void update ( IEntityLock lock , java . util . Date newExpiration , Integer newLockType ) throws LockingException { if ( find ( lock ) == null ) { throw new LockingException ( "Problem updating " + lock + " : not found in store." ) ; } primAdd ( lock , newExpiration ) ; }
Make sure the store has a reference to the lock and then add the lock to refresh the SmartCache wrapper .