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

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

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

origin: org.elasticsearch/elasticsearch

ClusterStateDiff(StreamInput in, DiscoveryNode localNode) throws IOException {
  clusterName = new ClusterName(in);
  fromUuid = in.readString();
  toUuid = in.readString();
  toVersion = in.readLong();
  routingTable = RoutingTable.readDiffFrom(in);
  nodes = DiscoveryNodes.readDiffFrom(in, localNode);
  metaData = MetaData.readDiffFrom(in);
  blocks = ClusterBlocks.readDiffFrom(in);
  customs = DiffableUtils.readImmutableOpenMapDiff(in, DiffableUtils.getStringKeySerializer(), CUSTOM_VALUE_SERIALIZER);
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.elasticsearch

ClusterStateDiff(StreamInput in, DiscoveryNode localNode) throws IOException {
  clusterName = new ClusterName(in);
  fromUuid = in.readString();
  toUuid = in.readString();
  toVersion = in.readLong();
  routingTable = RoutingTable.readDiffFrom(in);
  nodes = DiscoveryNodes.readDiffFrom(in, localNode);
  metaData = MetaData.readDiffFrom(in);
  blocks = ClusterBlocks.readDiffFrom(in);
  customs = DiffableUtils.readImmutableOpenMapDiff(in, DiffableUtils.getStringKeySerializer(), CUSTOM_VALUE_SERIALIZER);
}
origin: com.strapdata.elasticsearch/elasticsearch

ClusterStateDiff(StreamInput in, DiscoveryNode localNode) throws IOException {
  clusterName = new ClusterName(in);
  fromUuid = in.readString();
  toUuid = in.readString();
  toVersion = in.readLong();
  routingTable = RoutingTable.readDiffFrom(in);
  nodes = DiscoveryNodes.readDiffFrom(in, localNode);
  metaData = MetaData.readDiffFrom(in);
  blocks = ClusterBlocks.readDiffFrom(in);
  customs = DiffableUtils.readImmutableOpenMapDiff(in, DiffableUtils.getStringKeySerializer(), CUSTOM_VALUE_SERIALIZER);
}
origin: harbby/presto-connectors

public ClusterStateDiff(StreamInput in, ClusterState proto) throws IOException {
  clusterName = ClusterName.readClusterName(in);
  fromUuid = in.readString();
  toUuid = in.readString();
  toVersion = in.readLong();
  routingTable = proto.routingTable.readDiffFrom(in);
  nodes = proto.nodes.readDiffFrom(in);
  metaData = proto.metaData.readDiffFrom(in);
  blocks = proto.blocks.readDiffFrom(in);
  customs = DiffableUtils.readImmutableOpenMapDiff(in, new KeyedReader<Custom>() {
    @Override
    public Custom readFrom(StreamInput in, String key) throws IOException {
      return lookupPrototypeSafe(key).readFrom(in);
    }
    @Override
    public Diff<Custom> readDiffFrom(StreamInput in, String key) throws IOException {
      return lookupPrototypeSafe(key).readDiffFrom(in);
    }
  });
}
org.elasticsearch.cluster.blockClusterBlocksreadDiffFrom

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

Popular in Java

  • Making http post requests using okhttp
  • runOnUiThread (Activity)
  • setContentView (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • 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