congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
ClusterBlocks.indicesAllowReleaseResources
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: org.elasticsearch/elasticsearch

@Override
protected ClusterBlockException checkBlock(DeleteIndexRequest request, ClusterState state) {
  return state.blocks().indicesAllowReleaseResources(indexNameExpressionResolver.concreteIndexNames(state, request));
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.elasticsearch

@Override
protected ClusterBlockException checkBlock(DeleteIndexRequest request, ClusterState state) {
  return state.blocks().indicesAllowReleaseResources(indexNameExpressionResolver.concreteIndexNames(state, request));
}
origin: com.strapdata.elasticsearch/elasticsearch

@Override
protected ClusterBlockException checkBlock(DeleteIndexRequest request, ClusterState state) {
  return state.blocks().indicesAllowReleaseResources(indexNameExpressionResolver.concreteIndexNames(state, request));
}
origin: apache/servicemix-bundles

@Override
protected ClusterBlockException checkBlock(DeleteIndexRequest request, ClusterState state) {
  return state.blocks().indicesAllowReleaseResources(indexNameExpressionResolver.concreteIndexNames(state, request));
}
org.elasticsearch.cluster.blockClusterBlocksindicesAllowReleaseResources

Javadoc

Returns true iff non of the given have a ClusterBlockLevel#METADATA_WRITE in place where the ClusterBlock#isAllowReleaseResources() returns false. This is used in places where resources will be released like the deletion of an index to free up resources on nodes.

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,
  • generateLevelHolders

Popular in Java

  • Making http post requests using okhttp
  • getExternalFilesDir (Context)
  • startActivity (Activity)
  • runOnUiThread (Activity)
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • Top PhpStorm 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