Changed interval and timeout to type int (seconds), added javadoc.
Merge pull request #210 from maksimov/develop

Changed interval and timeout to type int (seconds), added javadoc.