Tabnine Logo
ClusterBlocks.readBlockSet
Code IndexAdd Tabnine to your IDE (free)

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

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

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

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: harbby/presto-connectors

@Override
public ClusterBlocks readFrom(StreamInput in) throws IOException {
  ImmutableSet<ClusterBlock> global = readBlockSet(in);
  ImmutableMap.Builder<String, ImmutableSet<ClusterBlock>> indicesBuilder = ImmutableMap.builder();
  int size = in.readVInt();
  for (int j = 0; j < size; j++) {
    indicesBuilder.put(in.readString().intern(), readBlockSet(in));
  }
  return new ClusterBlocks(global, indicesBuilder.build());
}
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.blockClusterBlocksreadBlockSet

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,
  • readDiffFrom,
  • writeBlockSet,
  • writeTo,
  • blocksForIndex,
  • generateLevelHolders

Popular in Java

  • Finding current android device location
  • startActivity (Activity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • scheduleAtFixedRate (ScheduledExecutorService)
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • Top plugins for WebStorm
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