Interface AsyncClosable

All Known Implementing Classes:
Actor

public interface AsyncClosable
  • Method Summary

    Modifier and Type
    Method
    Description
    Asynchronous closing.
  • Method Details

    • closeAsync

      ActorFuture<Void> closeAsync()
      Asynchronous closing. The implementation should close related resources and return a future, which is complete when closing is done.
      Returns:
      the future, which is completed when resources are closed