Package rife.continuations
Interface CloneableContinuable
- All Superinterfaces:
Cloneable
Interface that should be implemented by classes that support cloneable
continuations.
- Since:
- 1.0
-
Method Summary
-
Method Details
-
clone
When continuations are resumed, they can be cloned to ensure that their state is properly isolated. Implementing this method allows for full customization of the cloning behavior.- Returns:
- the cloned instance of this continuable object
- Throws:
CloneNotSupportedException
- if the object can't be cloned- See Also:
-