Tabnine Logo
NodesStatsRequest.fs
Code IndexAdd Tabnine to your IDE (free)

How to use
fs
method
in
org.elasticsearch.action.admin.cluster.node.stats.NodesStatsRequest

Best Java code snippets using org.elasticsearch.action.admin.cluster.node.stats.NodesStatsRequest.fs (Showing top 18 results out of 315)

origin: org.elasticsearch/elasticsearch

/**
 * Should the node file system stats be returned.
 */
public NodesStatsRequestBuilder setFs(boolean fs) {
  request.fs(fs);
  return this;
}
origin: org.elasticsearch/elasticsearch

/**
 * Retrieve the latest nodes stats, calling the listener when complete
 * @return a latch that can be used to wait for the nodes stats to complete if desired
 */
protected CountDownLatch updateNodeStats(final ActionListener<NodesStatsResponse> listener) {
  final CountDownLatch latch = new CountDownLatch(1);
  final NodesStatsRequest nodesStatsRequest = new NodesStatsRequest("data:true");
  nodesStatsRequest.clear();
  nodesStatsRequest.fs(true);
  nodesStatsRequest.timeout(fetchTimeout);
  client.admin().cluster().nodesStats(nodesStatsRequest, new LatchedActionListener<>(listener, latch));
  return latch;
}
origin: harbby/presto-connectors

/**
 * Should the node file system stats be returned.
 */
public NodesStatsRequestBuilder setFs(boolean fs) {
  request.fs(fs);
  return this;
}
origin: apache/servicemix-bundles

/**
 * Should the node file system stats be returned.
 */
public NodesStatsRequestBuilder setFs(boolean fs) {
  request.fs(fs);
  return this;
}
origin: com.strapdata.elasticsearch/elasticsearch

/**
 * Should the node file system stats be returned.
 */
public NodesStatsRequestBuilder setFs(boolean fs) {
  request.fs(fs);
  return this;
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.elasticsearch

/**
 * Should the node file system stats be returned.
 */
public NodesStatsRequestBuilder setFs(boolean fs) {
  request.fs(fs);
  return this;
}
origin: javanna/elasticshell

public NodesStatsRequestBuilder fs(boolean fs) {
  request.fs(fs);
  return this;
}
origin: org.elasticsearch/elasticsearch

@Override
protected NodeStats nodeOperation(NodeStatsRequest nodeStatsRequest) {
  NodesStatsRequest request = nodeStatsRequest.request;
  return nodeService.stats(request.indices(), request.os(), request.process(), request.jvm(), request.threadPool(),
      request.fs(), request.transport(), request.http(), request.breaker(), request.script(), request.discovery(),
      request.ingest(), request.adaptiveSelection());
}
origin: harbby/presto-connectors

/**
 * Retrieve the latest nodes stats, calling the listener when complete
 * @return a latch that can be used to wait for the nodes stats to complete if desired
 */
protected CountDownLatch updateNodeStats(final ActionListener<NodesStatsResponse> listener) {
  final CountDownLatch latch = new CountDownLatch(1);
  final NodesStatsRequest nodesStatsRequest = new NodesStatsRequest("data:true");
  nodesStatsRequest.clear();
  nodesStatsRequest.fs(true);
  nodesStatsRequest.timeout(fetchTimeout);
  transportNodesStatsAction.execute(nodesStatsRequest, new LatchedActionListener<>(listener, latch));
  return latch;
}
origin: harbby/presto-connectors

  @Override
  public void processResponse(final ClusterStateResponse state) {
    NodesStatsRequest statsRequest = new NodesStatsRequest(nodes);
    statsRequest.clear().fs(true).indices(new CommonStatsFlags(CommonStatsFlags.Flag.Store));
    client.admin().cluster().nodesStats(statsRequest, new RestResponseListener<NodesStatsResponse>(channel) {
      @Override
      public RestResponse buildResponse(NodesStatsResponse stats) throws Exception {
        Table tab = buildTable(request, state, stats);
        return RestTable.buildResponse(tab, channel);
      }
    });
  }
});
origin: apache/servicemix-bundles

/**
 * Retrieve the latest nodes stats, calling the listener when complete
 * @return a latch that can be used to wait for the nodes stats to complete if desired
 */
protected CountDownLatch updateNodeStats(final ActionListener<NodesStatsResponse> listener) {
  final CountDownLatch latch = new CountDownLatch(1);
  final NodesStatsRequest nodesStatsRequest = new NodesStatsRequest("data:true");
  nodesStatsRequest.clear();
  nodesStatsRequest.fs(true);
  nodesStatsRequest.timeout(fetchTimeout);
  client.admin().cluster().nodesStats(nodesStatsRequest, new LatchedActionListener<>(listener, latch));
  return latch;
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.elasticsearch

/**
 * Retrieve the latest nodes stats, calling the listener when complete
 * @return a latch that can be used to wait for the nodes stats to complete if desired
 */
protected CountDownLatch updateNodeStats(final ActionListener<NodesStatsResponse> listener) {
  final CountDownLatch latch = new CountDownLatch(1);
  final NodesStatsRequest nodesStatsRequest = new NodesStatsRequest("data:true");
  nodesStatsRequest.clear();
  nodesStatsRequest.fs(true);
  nodesStatsRequest.timeout(fetchTimeout);
  client.admin().cluster().nodesStats(nodesStatsRequest, new LatchedActionListener<>(listener, latch));
  return latch;
}
origin: com.strapdata.elasticsearch/elasticsearch

/**
 * Retrieve the latest nodes stats, calling the listener when complete
 * @return a latch that can be used to wait for the nodes stats to complete if desired
 */
protected CountDownLatch updateNodeStats(final ActionListener<NodesStatsResponse> listener) {
  final CountDownLatch latch = new CountDownLatch(1);
  final NodesStatsRequest nodesStatsRequest = new NodesStatsRequest("data:true");
  nodesStatsRequest.clear();
  nodesStatsRequest.fs(true);
  nodesStatsRequest.timeout(fetchTimeout);
  client.admin().cluster().nodesStats(nodesStatsRequest, new LatchedActionListener<>(listener, latch));
  return latch;
}
origin: harbby/presto-connectors

@Override
protected NodeStats nodeOperation(NodeStatsRequest nodeStatsRequest) {
  NodesStatsRequest request = nodeStatsRequest.request;
  return nodeService.stats(request.indices(), request.os(), request.process(), request.jvm(), request.threadPool(),
      request.fs(), request.transport(), request.http(), request.breaker(), request.script());
}
origin: com.strapdata.elasticsearch/elasticsearch

@Override
protected NodeStats nodeOperation(NodeStatsRequest nodeStatsRequest) {
  NodesStatsRequest request = nodeStatsRequest.request;
  return nodeService.stats(request.indices(), request.os(), request.process(), request.jvm(), request.threadPool(),
      request.fs(), request.transport(), request.http(), request.breaker(), request.script(), request.discovery(),
      request.ingest());
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.elasticsearch

@Override
protected NodeStats nodeOperation(NodeStatsRequest nodeStatsRequest) {
  NodesStatsRequest request = nodeStatsRequest.request;
  return nodeService.stats(request.indices(), request.os(), request.process(), request.jvm(), request.threadPool(),
      request.fs(), request.transport(), request.http(), request.breaker(), request.script(), request.discovery(),
      request.ingest(), request.adaptiveSelection());
}
origin: harbby/presto-connectors

nodesStatsRequest.jvm(metrics.contains("jvm"));
nodesStatsRequest.threadPool(metrics.contains("thread_pool"));
nodesStatsRequest.fs(metrics.contains("fs"));
nodesStatsRequest.transport(metrics.contains("transport"));
nodesStatsRequest.http(metrics.contains("http"));
origin: apache/servicemix-bundles

@Override
protected NodeStats nodeOperation(NodeStatsRequest nodeStatsRequest) {
  NodesStatsRequest request = nodeStatsRequest.request;
  return nodeService.stats(request.indices(), request.os(), request.process(), request.jvm(), request.threadPool(),
      request.fs(), request.transport(), request.http(), request.breaker(), request.script(), request.discovery(),
      request.ingest(), request.adaptiveSelection());
}
org.elasticsearch.action.admin.cluster.node.statsNodesStatsRequestfs

Javadoc

Should the node file system stats be returned.

Popular methods of NodesStatsRequest

  • <init>
    Get stats from nodes based on the nodes ids specified. If none are passed, stats for all nodes will
  • all
    Sets all the request flags.
  • clear
    Clears all the request flags.
  • http
    Should the node HTTP be returned.
  • indices
    Should indices stats be returned.
  • jvm
    Should the node JVM be returned.
  • os
    Should the node OS be returned.
  • process
    Should the node Process be returned.
  • threadPool
    Should the node Thread Pool be returned.
  • transport
    Should the node Transport be returned.
  • breaker
    Should the node's circuit breaker stats be returned.
  • readFrom
  • breaker,
  • readFrom,
  • script,
  • timeout,
  • writeTo,
  • discovery,
  • ingest,
  • adaptiveSelection,
  • nodesIds

Popular in Java

  • Running tasks concurrently on multiple threads
  • requestLocationUpdates (LocationManager)
  • setContentView (Activity)
  • putExtra (Intent)
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • JLabel (javax.swing)
  • Best IntelliJ plugins
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