Update MonitorImpl.java