Skip to content

v0.5.2

Latest

Choose a tag to compare

@tom-mohr tom-mohr released this 29 Sep 14:47
· 1 commit to main since this release

Added kill() methods for various classes to allow the user to abort the loop immediately without waiting for the current iteration to finish.
Also, the user now doesn't have to handle as many exceptions, simplifying usage.


The changed methods are specifically:

LoadDistributor.java

  • removed shutdown(long timeoutMilliseconds) throws InterruptedException
  • added kill()

Physics.java

  • removed shutdown(long timeoutMilliseconds) throws InterruptedException
  • added kill()

Loop.java

  • simplified stop() (removed exception, made timeout parameter optional)
  • added kill()