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 Detail

      • cancel

        void cancel()
        Cancels this clean action, making CleanAction.clean() a no-op. This operation cannot be reversed.