Package io.temporal.internal.common
Interface NonIdempotentHandle
-
- All Superinterfaces:
java.lang.AutoCloseable
public interface NonIdempotentHandle extends java.lang.AutoCloseable
This interface signifies that the implementation ofclose()
method may and likely is not idempotent, which is in agreement withAutoCloseable.close()
contract. It also narrowsAutoCloseable.close()
contract to not throw any checked exceptions, making it more convenient to use in try-with-resources blocks.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
-