All Methods Static Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
static String |
absoluteStormBlobStoreDir(Map<String,Object> conf) |
static String |
absoluteStormLocalDir(Map<String,Object> conf) |
static String |
concatIfNotNull(String dir) |
static BooleanSupplier |
evenSampler(int samplingFreq) |
static String |
getIdFromBlobKey(String key)
Returns the topology ID belonging to a blob key if it exists.
|
static String |
getLogDir() |
static List<String> |
getValueAsList(String name,
Map<String,Object> conf)
Get the given config value as a List <String>, if possible.
|
static File |
getWorkerDirFromRoot(String logRoot,
String id,
Integer port) |
static boolean |
isLocalMode(Map<String,Object> conf) |
static Map<String,Object> |
maskPasswords(Map<String,Object> conf) |
static String |
masterStormCodeKey(String topologyId) |
static String |
masterStormConfKey(String topologyId) |
static String |
masterStormJarKey(String topologyId) |
static BooleanSupplier |
mkStatsSampler(Map<String,Object> conf) |
static Map<String,Object> |
overrideLoginConfigWithSystemProperty(Map<String,Object> conf) |
static Collection<String> |
readDirContents(String dir)
Returns a Collection of file names found under the given directory.
|
static Collection<File> |
readDirFiles(String dir)
Returns a Collection of files found under the given directory.
|
static Map<String,Object> |
readStormConfig() |
Map<String,Object> |
readStormConfigImpl() |
static StormTopology |
readSupervisorStormCodeGivenPath(String stormCodePath,
AdvancedFSOps ops) |
static Map<String,Object> |
readSupervisorStormConf(Map<String,Object> conf,
String stormId) |
static Map<String,Object> |
readSupervisorStormConfGivenPath(Map<String,Object> conf,
String topoConfPath) |
Map<String,Object> |
readSupervisorStormConfImpl(Map<String,Object> conf,
String stormId) |
static StormTopology |
readSupervisorTopology(Map<String,Object> conf,
String stormId,
AdvancedFSOps ops) |
StormTopology |
readSupervisorTopologyImpl(Map<String,Object> conf,
String stormId,
AdvancedFSOps ops) |
static Map<String,Object> |
readYamlConfig(String name) |
static Map<String,Object> |
readYamlConfig(String name,
boolean mustExist) |
static int |
samplingRate(Map<String,Object> conf) |
static ConfigUtils |
setInstance(ConfigUtils u)
Provide an instance of this class for delegates to use.
|
static String |
sharedByTopologyDir(Map<String,Object> conf,
String stormId) |
static String |
stormDistPath(String stormRoot) |
static String |
supervisorLocalDir(Map<String,Object> conf) |
String |
supervisorLocalDirImpl(Map<String,Object> conf) |
static String |
supervisorStormCodePath(String stormRoot) |
static String |
supervisorStormConfPath(String stormRoot) |
static String |
supervisorStormDistRoot(Map<String,Object> conf) |
static String |
supervisorStormDistRoot(Map<String,Object> conf,
String stormId) |
String |
supervisorStormDistRootImpl(Map<String,Object> conf) |
String |
supervisorStormDistRootImpl(Map<String,Object> conf,
String stormId) |
static String |
supervisorStormJarPath(String stormRoot) |
static String |
supervisorStormResourcesPath(String stormRoot) |
static String |
workerArtifactsPidPath(Map<String,Object> conf,
String id,
Integer port) |
static String |
workerArtifactsRoot(Map<String,Object> conf) |
static String |
workerArtifactsRoot(Map<String,Object> conf,
String id) |
static String |
workerArtifactsRoot(Map<String,Object> conf,
String id,
Integer port) |
String |
workerArtifactsRootImpl(Map<String,Object> conf) |
static String |
workerArtifactsSymlink(Map<String,Object> conf,
String id) |
static String |
workerHeartbeatsRoot(Map<String,Object> conf,
String id) |
static String |
workerPidPath(Map<String,Object> conf,
String id,
long pid) |
static String |
workerPidPath(Map<String,Object> conf,
String id,
String pid) |
static String |
workerPidsRoot(Map<String,Object> conf,
String id) |
static String |
workerRoot(Map<String,Object> conf) |
static String |
workerRoot(Map<String,Object> conf,
String id) |
String |
workerRootImpl(Map<String,Object> conf) |
static LocalState |
workerState(Map<String,Object> conf,
String id) |
static String |
workerTmpRoot(Map<String,Object> conf,
String id) |
static String |
workerUserFile(Map<String,Object> conf,
String workerId) |
static String |
workerUserRoot(Map<String,Object> conf) |