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

How to use
stormPath
method
in
org.apache.storm.cluster.ClusterUtils

Best Java code snippets using org.apache.storm.cluster.ClusterUtils.stormPath (Showing top 8 results out of 315)

origin: apache/storm

@Override
public void removeStormBase(String stormId) {
  stateStorage.delete_node(ClusterUtils.stormPath(stormId));
}
origin: apache/storm

@Override
public StormBase stormBase(String stormId, Runnable callback) {
  if (callback != null) {
    stormBaseCallback.put(stormId, callback);
  }
  return ClusterUtils.maybeDeserialize(stateStorage.get_data(ClusterUtils.stormPath(stormId), callback != null), StormBase.class);
}
origin: apache/storm

@Override
public void activateStorm(String stormId, StormBase stormBase, Map<String, Object> topoConf) {
  String path = ClusterUtils.stormPath(stormId);
  stateStorage.mkdirs(ClusterUtils.STORMS_SUBTREE, defaultAcls);
  stateStorage.set_data(path, Utils.serialize(stormBase), ClusterUtils.mkTopoReadOnlyAcls(topoConf));
  this.assignmentsBackend.keepStormId(stormBase.get_name(), stormId);
}
origin: apache/storm

  newElems.set_status(stormBase.get_status());
stateStorage.set_data(ClusterUtils.stormPath(stormId), Utils.serialize(newElems), defaultAcls);
origin: org.apache.storm/storm-core

@Override
public void removeStormBase(String stormId) {
  stateStorage.delete_node(ClusterUtils.stormPath(stormId));
}
origin: org.apache.storm/storm-core

@Override
public StormBase stormBase(String stormId, Runnable callback) {
  if (callback != null) {
    stormBaseCallback.put(stormId, callback);
  }
  return ClusterUtils.maybeDeserialize(stateStorage.get_data(ClusterUtils.stormPath(stormId), callback != null), StormBase.class);
}
origin: org.apache.storm/storm-core

@Override
public void activateStorm(String stormId, StormBase stormBase, Map<String, Object> topoConf) {
  String path = ClusterUtils.stormPath(stormId);
  stateStorage.mkdirs(ClusterUtils.STORMS_SUBTREE, acls);
  stateStorage.set_data(path, Utils.serialize(stormBase), ClusterUtils.mkTopoReadOnlyAcls(topoConf));
}
origin: org.apache.storm/storm-core

  newElems.set_status(stormBase.get_status());
stateStorage.set_data(ClusterUtils.stormPath(stormId), Utils.serialize(newElems), acls);
org.apache.storm.clusterClusterUtilsstormPath

Popular methods of ClusterUtils

  • mkStormClusterState
  • errorStormRoot
  • assignmentPath
  • backpressurePath
  • backpressureStormRoot
  • blobstoreMaxKeySequenceNumberPath
  • blobstorePath
  • convertExecutorBeats
    Ensures that we only return heartbeats for executors assigned to this worker
  • credentialsPath
  • errorPath
  • lastErrorPath
  • logConfigPath
  • lastErrorPath,
  • logConfigPath,
  • maybeDeserialize,
  • mkStateStorage,
  • mkStateStorageImpl,
  • mkStormClusterStateImpl,
  • mkTopoAcls,
  • mkTopoReadOnlyAcls,
  • mkTopoReadWriteAcls,
  • nimbusPath

Popular in Java

  • Updating database using SQL prepared statement
  • getApplicationContext (Context)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • addToBackStack (FragmentTransaction)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • JButton (javax.swing)
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Top 12 Jupyter Notebook extensions
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