Interface NonIdempotentHandle

All Superinterfaces:
AutoCloseable

public interface NonIdempotentHandle extends AutoCloseable
This interface signifies that the implementation of close() method may and likely is not idempotent, which is in agreement with AutoCloseable.close() contract. It also narrows AutoCloseable.close() contract to not throw any checked exceptions, making it more convenient to use in try-with-resources blocks.
  • Method Summary

    Modifier and Type
    Method
    Description
    void