Package com.exonum.binding.core.proxy
Interface CancellableCleanAction<ResourceDescriptionT>
- All Superinterfaces:
CleanAction<ResourceDescriptionT>
- All Known Implementing Classes:
ProxyDestructor
public interface CancellableCleanAction<ResourceDescriptionT> extends CleanAction<ResourceDescriptionT>
A cancellable clean action can be cancelled. That is useful, for instance, when
a Java native proxy transfers ownership over the native peer back to the native code.
-
Method Summary
Modifier and Type Method Description void
cancel()
Cancels this clean action, makingCleanAction.clean()
a no-op.
-
Method Details
-
cancel
void cancel()Cancels this clean action, makingCleanAction.clean()
a no-op. This operation cannot be reversed.
-