congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
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

  • Reading from database using SQL prepared statement
  • setContentView (Activity)
  • setScale (BigDecimal)
  • getContentResolver (Context)
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • From CI to AI: The AI layer in your organization
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