Class IndexRebuildCancelToken


  • public class IndexRebuildCancelToken
    extends Object
    Index operation cancellation token.
    • Constructor Detail

      • IndexRebuildCancelToken

        public IndexRebuildCancelToken()
        Default constructor.
    • Method Detail

      • cancelException

        @Nullable
        public @Nullable Throwable cancelException()
        Returns:
        Exception that causes cancellation action.
      • cancel

        public boolean cancel​(Throwable e)
        Do cancel.
        Returns:
        True if cancel flag was set by this call.