question: protected void notifyComplete ( ) { final String methodName = "notifyComplete" ; log . fine ( CLASS_NAME , methodName , "404" , new Object [ ] { getKey ( ) , this . response , this . exception } ) ; synchronized ( responseLock ) { if ( exception == null && pendingComplete ) { completed = true ; pendingComplete = false ; } else { pendingComplete = false ; } responseLock . notifyAll ( ) ; } synchronized ( sentLock ) { sent = true ; sentLock . notifyAll ( ) ; } }
target:  Notifies this token that a response message (an ACK or NACK) has been received.