Tabnine Logo
IgniteAuthenticationProcessor.cancelFutures
Code IndexAdd Tabnine to your IDE (free)

How to use
cancelFutures
method
in
org.apache.ignite.internal.processors.authentication.IgniteAuthenticationProcessor

Best Java code snippets using org.apache.ignite.internal.processors.authentication.IgniteAuthenticationProcessor.cancelFutures (Showing top 6 results out of 315)

origin: apache/ignite

/** {@inheritDoc} */
@Override public void onDisconnected(IgniteFuture reconnectFut) {
  if (!isEnabled)
    return;
  synchronized (mux) {
    assert !disconnected;
    disconnected = true;
    cancelFutures("Client node was disconnected from topology (operation result is unknown).");
  }
}
origin: apache/ignite

/** {@inheritDoc} */
@Override public void onKernalStop(boolean cancel) {
  if (!isEnabled)
    return;
  synchronized (mux) {
    cancelFutures("Kernal stopped.");
  }
}
origin: apache/ignite

/** {@inheritDoc} */
@Override public void stop(boolean cancel) throws IgniteCheckedException {
  if (!isEnabled)
    return;
  ctx.io().removeMessageListener(GridTopic.TOPIC_AUTH, ioLsnr);
  ctx.event().removeDiscoveryEventListener(discoLsnr, DISCO_EVT_TYPES);
  cancelFutures("Node stopped");
  if (!cancel)
    exec.shutdown();
  else
    exec.shutdownNow();
}
origin: org.apache.ignite/ignite-core

/** {@inheritDoc} */
@Override public void onKernalStop(boolean cancel) {
  if (!isEnabled)
    return;
  synchronized (mux) {
    cancelFutures("Kernal stopped.");
  }
}
origin: org.apache.ignite/ignite-core

/** {@inheritDoc} */
@Override public void onDisconnected(IgniteFuture reconnectFut) {
  if (!isEnabled)
    return;
  synchronized (mux) {
    assert !disconnected;
    disconnected = true;
    cancelFutures("Client node was disconnected from topology (operation result is unknown).");
  }
}
origin: org.apache.ignite/ignite-core

/** {@inheritDoc} */
@Override public void stop(boolean cancel) throws IgniteCheckedException {
  if (!isEnabled)
    return;
  ctx.io().removeMessageListener(GridTopic.TOPIC_AUTH, ioLsnr);
  ctx.event().removeDiscoveryEventListener(discoLsnr, DISCO_EVT_TYPES);
  cancelFutures("Node stopped");
  if (!cancel)
    exec.shutdown();
  else
    exec.shutdownNow();
}
org.apache.ignite.internal.processors.authenticationIgniteAuthenticationProcessorcancelFutures

Popular methods of IgniteAuthenticationProcessor

  • addUser
    Adds new user.
  • authenticate
    Authenticate user.
  • removeUser
  • updateUser
  • addDefaultUser
  • addUserLocal
    Adds new user locally.
  • authenticateOnServer
    Authenticate user.
  • cacheProcessorStarted
    On cache processor started.
  • checkActivate
    Check cluster state.
  • checkEnabled
  • coordinator
    Get current coordinator node.
  • enabled
  • coordinator,
  • enabled,
  • execUserOperation,
  • isLocalNodeCoordinator,
  • isNodeHoldsUsers,
  • onActivate,
  • onAuthenticateRequestMessage,
  • onAuthenticateResponseMessage,
  • onFinishMessage

Popular in Java

  • Creating JSON documents from java classes using gson
  • requestLocationUpdates (LocationManager)
  • setRequestProperty (URLConnection)
  • setContentView (Activity)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Github Copilot alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now