public < T extends ViewHandler < R > > T processing ( boolean flag ) { lock . lock ( ) ; try { setProcessing ( flag ) ; return ( T ) this ; } finally { lock . unlock ( ) ; } }
To be used by testing only!