Tabnine Logo
SessionLoader.loadSessions
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: org.keycloak/keycloak-model-sessions-infinispan

@Override
public void run(KeycloakSession session) {
  sessionLoader.loadSessions(session, first, max);
}
origin: org.keycloak/keycloak-model-infinispan

@Override
public void run(KeycloakSession session) {
  ref[0] = sessionLoader.loadSessions(session, loaderCtx, workerCtx);
}
origin: org.keycloak/keycloak-model-sessions-infinispan

@Override
public void run(KeycloakSession session) {
  int count = sessionLoader.getSessionsCount(session);
  for (int i=0 ; i<count ; i+=sessionsPerSegment) {
    sessionLoader.loadSessions(session, i, sessionsPerSegment);
  }
}
org.keycloak.models.sessions.infinispan.initializerSessionLoaderloadSessions

Javadoc

Will be called on all cluster nodes to load the specified page.

Popular methods of SessionLoader

  • init
    Will be triggered just once on cluster coordinator node to perform some generic initialization tasks
  • 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
  • isFinished
    This will be called on nodes to check if loading is finished. It allows loader to notify that loadin

Popular in Java

  • Finding current android device location
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • scheduleAtFixedRate (Timer)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • JFrame (javax.swing)
  • Top 12 Jupyter Notebook Extensions
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