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
IOExceptionpublic static String masterInimbusDir(Map<String,Object> conf) throws IOException
IOExceptionpublic static LocalState nimbusTopoHistoryState(Map<String,Object> conf) throws IOException
IOExceptionpublic static String masterInbox(Map<String,Object> conf) throws IOException
IOExceptionpublic static String masterStormDistRoot(Map<String,Object> conf) throws IOException
IOExceptionpublic static String masterStormDistRoot(Map<String,Object> conf, String stormId) throws IOException
IOExceptionpublic static String supervisorTmpDir(Map<String,Object> conf) throws IOException
IOExceptionpublic static String supervisorIsupervisorDir(Map<String,Object> conf) throws IOException
IOExceptionpublic static LocalState supervisorState(Map<String,Object> conf) throws IOException
IOExceptionpublic static File getLogMetaDataFile(Map<String,Object> conf, String id, Integer port)
public LocalState supervisorStateImpl(Map<String,Object> conf) throws IOException
IOExceptionpublic LocalState nimbusTopoHistoryStateImpl(Map<String,Object> conf) throws IOException
IOExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.