public class ServerConfigUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
FILE_SEPARATOR |
static String |
NIMBUS_DO_NOT_REASSIGN |
static String |
RESOURCES_SUBDIR |
Constructor and Description |
---|
ServerConfigUtils() |
public static final String FILE_SEPARATOR
public static final String NIMBUS_DO_NOT_REASSIGN
public static final String RESOURCES_SUBDIR
public static ServerConfigUtils setInstance(ServerConfigUtils u)
Provide an instance of this class for delegates to use. To mock out delegated methods, provide an instance of a subclass that overrides the implementation of the delegated method.
u
- a ServerConfigUtils instancepublic static String masterLocalDir(Map<String,Object> conf) throws IOException
IOException
public static String masterInimbusDir(Map<String,Object> conf) throws IOException
IOException
public static LocalState nimbusTopoHistoryState(Map<String,Object> conf) throws IOException
IOException
public static String masterInbox(Map<String,Object> conf) throws IOException
IOException
public static String masterStormDistRoot(Map<String,Object> conf) throws IOException
IOException
public static String masterStormDistRoot(Map<String,Object> conf, String stormId) throws IOException
IOException
public static String supervisorTmpDir(Map<String,Object> conf) throws IOException
IOException
public static String supervisorIsupervisorDir(Map<String,Object> conf) throws IOException
IOException
public static LocalState supervisorState(Map<String,Object> conf) throws IOException
IOException
public static File getLogMetaDataFile(Map<String,Object> conf, String id, Integer port)
public LocalState supervisorStateImpl(Map<String,Object> conf) throws IOException
IOException
public LocalState nimbusTopoHistoryStateImpl(Map<String,Object> conf) throws IOException
IOException
Copyright © 2019 The Apache Software Foundation. All rights reserved.