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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
cancel()
Cancels this clean action, makingCleanAction.clean()
a no-op.-
Methods inherited from interface com.exonum.binding.core.proxy.CleanAction
clean, resourceType
-
-
-
-
Method Detail
-
cancel
void cancel()
Cancels this clean action, makingCleanAction.clean()
a no-op. This operation cannot be reversed.
-
-