congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
SessionLoader.isFinished
Code IndexAdd Tabnine to your IDE (free)

How to use
isFinished
method
in
org.keycloak.models.sessions.infinispan.initializer.SessionLoader

Best Java code snippets using org.keycloak.models.sessions.infinispan.initializer.SessionLoader.isFinished (Showing top 1 results out of 315)

origin: org.keycloak/keycloak-model-infinispan

@Override
protected boolean isFinished() {
  // Check if we should skipLoadingSessions. This can happen if someone else already did the task (For example in cross-dc environment, it was done by different DC)
  boolean isFinishedAlready = this.sessionLoader.isFinished(this);
  if (isFinishedAlready) {
    return true;
  }
  InitializerState state = getStateFromCache();
  return state != null && state.isFinished();
}
org.keycloak.models.sessions.infinispan.initializerSessionLoaderisFinished

Javadoc

This will be called on nodes to check if loading is finished. It allows loader to notify that loading is finished for some reason.

Popular methods of SessionLoader

  • init
    Will be triggered just once on cluster coordinator node to perform some generic initialization tasks
  • loadSessions
    Will be called on all cluster nodes to load the specified page.
  • afterAllSessionsLoaded
    Callback triggered on cluster coordinator once it recognize that all sessions were successfully load
  • computeLoaderContext
    Will be triggered just once on cluster coordinator node to count the number of segments and other co
  • computeWorkerContext
    Compute the worker context for current iteration
  • createFailedWorkerResult
    Called when it's not possible to compute current iteration and load session for some reason (EG. inf
  • getSessionsCount

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getSharedPreferences (Context)
  • setContentView (Activity)
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • JOptionPane (javax.swing)
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • 14 Best Plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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