congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
ClusterBlocks.generateLevelHolders
Code IndexAdd Tabnine to your IDE (free)

How to use
generateLevelHolders
method
in
org.elasticsearch.cluster.block.ClusterBlocks

Best Java code snippets using org.elasticsearch.cluster.block.ClusterBlocks.generateLevelHolders (Showing top 8 results out of 315)

origin: org.elasticsearch/elasticsearch

ClusterBlocks(Set<ClusterBlock> global, ImmutableOpenMap<String, Set<ClusterBlock>> indicesBlocks) {
  this.global = global;
  this.indicesBlocks = indicesBlocks;
  levelHolders = generateLevelHolders(global, indicesBlocks);
}
origin: org.elasticsearch/elasticsearch

public ClusterBlocks(StreamInput in) throws IOException {
  Set<ClusterBlock> global = readBlockSet(in);
  int size = in.readVInt();
  ImmutableOpenMap.Builder<String, Set<ClusterBlock>> indicesBuilder = ImmutableOpenMap.builder(size);
  for (int j = 0; j < size; j++) {
    indicesBuilder.put(in.readString().intern(), readBlockSet(in));
  }
  this.global = global;
  this.indicesBlocks = indicesBuilder.build();
  levelHolders = generateLevelHolders(global, indicesBlocks);
}
origin: apache/servicemix-bundles

ClusterBlocks(Set<ClusterBlock> global, ImmutableOpenMap<String, Set<ClusterBlock>> indicesBlocks) {
  this.global = global;
  this.indicesBlocks = indicesBlocks;
  levelHolders = generateLevelHolders(global, indicesBlocks);
}
origin: com.strapdata.elasticsearch/elasticsearch

ClusterBlocks(Set<ClusterBlock> global, ImmutableOpenMap<String, Set<ClusterBlock>> indicesBlocks) {
  this.global = global;
  this.indicesBlocks = indicesBlocks;
  levelHolders = generateLevelHolders(global, indicesBlocks);
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.elasticsearch

ClusterBlocks(Set<ClusterBlock> global, ImmutableOpenMap<String, Set<ClusterBlock>> indicesBlocks) {
  this.global = global;
  this.indicesBlocks = indicesBlocks;
  levelHolders = generateLevelHolders(global, indicesBlocks);
}
origin: apache/servicemix-bundles

public ClusterBlocks(StreamInput in) throws IOException {
  Set<ClusterBlock> global = readBlockSet(in);
  int size = in.readVInt();
  ImmutableOpenMap.Builder<String, Set<ClusterBlock>> indicesBuilder = ImmutableOpenMap.builder(size);
  for (int j = 0; j < size; j++) {
    indicesBuilder.put(in.readString().intern(), readBlockSet(in));
  }
  this.global = global;
  this.indicesBlocks = indicesBuilder.build();
  levelHolders = generateLevelHolders(global, indicesBlocks);
}
origin: com.strapdata.elasticsearch/elasticsearch

public ClusterBlocks(StreamInput in) throws IOException {
  Set<ClusterBlock> global = readBlockSet(in);
  int size = in.readVInt();
  ImmutableOpenMap.Builder<String, Set<ClusterBlock>> indicesBuilder = ImmutableOpenMap.builder(size);
  for (int j = 0; j < size; j++) {
    indicesBuilder.put(in.readString().intern(), readBlockSet(in));
  }
  this.global = global;
  this.indicesBlocks = indicesBuilder.build();
  levelHolders = generateLevelHolders(global, indicesBlocks);
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.elasticsearch

public ClusterBlocks(StreamInput in) throws IOException {
  Set<ClusterBlock> global = readBlockSet(in);
  int size = in.readVInt();
  ImmutableOpenMap.Builder<String, Set<ClusterBlock>> indicesBuilder = ImmutableOpenMap.builder(size);
  for (int j = 0; j < size; j++) {
    indicesBuilder.put(in.readString().intern(), readBlockSet(in));
  }
  this.global = global;
  this.indicesBlocks = indicesBuilder.build();
  levelHolders = generateLevelHolders(global, indicesBlocks);
}
org.elasticsearch.cluster.blockClusterBlocksgenerateLevelHolders

Popular methods of ClusterBlocks

  • globalBlockedException
  • indicesBlockedException
  • builder
  • globalBlockedRaiseException
  • indexBlockedException
  • <init>
  • diff
  • disableStatePersistence
    Returns true if one of the global blocks as its disable state persistence flag set.
  • global
  • globalBlocked
  • hasGlobalBlock
    Is there a global block with the provided status?
  • indexBlocked
  • hasGlobalBlock,
  • indexBlocked,
  • indexBlockedRaiseException,
  • indices,
  • readBlockSet,
  • readDiffFrom,
  • writeBlockSet,
  • writeTo,
  • blocksForIndex

Popular in Java

  • Updating database using SQL prepared statement
  • getSystemService (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • addToBackStack (FragmentTransaction)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • 21 Best Atom Packages for 2021
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