javadoc added for wait* methods