Interface CloseNotifyingResource

All Superinterfaces:
AutoCloseable

public interface CloseNotifyingResource extends AutoCloseable
Resource that can notify an ownership registry after it closes naturally.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    onClosed(Runnable notification)
     
  • Method Details