add method invoke monitor.