|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.service.portalmanagement.systeminfo.DataHelper
public class DataHelper
Helper class that gets all the information shown by System Info service.
Constructor Summary | |
---|---|
DataHelper()
|
Method Summary | |
---|---|
static void |
appendDataInformation(java.lang.StringBuilder sb,
java.lang.String sourceTitle,
java.util.Map<?,?> dataMap)
Appends the information in the map as a string in the string builder. |
static java.lang.String |
obtainAllInformationAsString()
Builds a string with all the information (database, environment, general info, etc). |
static java.util.Map<java.lang.String,java.lang.String> |
obtainDatabaseInformation()
Builds a map with the database information. |
static java.util.Map<java.lang.String,java.lang.String> |
obtainEnvironmentData()
Builds a map with the environment variables. |
static java.util.Map<java.lang.String,java.lang.String> |
obtainGeneralInformation()
Builds a map with general information like date, user timezone, user locale, etc. |
static java.util.Map<java.lang.String,java.lang.String> |
obtainMemoryUseInformation()
Builds a map with memory use information. |
static java.util.Map<java.lang.String,java.lang.String> |
obtainPageCacheInformation()
Builds a map with the page cache information. |
static java.util.Map<java.lang.String,java.lang.String> |
obtainPortalInformation()
Builds a map with the portal information. |
static java.util.Map<java.lang.String,java.lang.String> |
obtainSystemProperties()
Builds a map with the system properties. |
static java.util.Map<java.lang.String,java.lang.String> |
obtainThreadInformation()
Builds a map with the thread information. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataHelper()
Method Detail |
---|
public static java.util.Map<java.lang.String,java.lang.String> obtainDatabaseInformation()
public static java.util.Map<java.lang.String,java.lang.String> obtainEnvironmentData()
public static java.util.Map<java.lang.String,java.lang.String> obtainGeneralInformation()
public static java.util.Map<java.lang.String,java.lang.String> obtainMemoryUseInformation()
public static java.util.Map<java.lang.String,java.lang.String> obtainPageCacheInformation()
public static java.util.Map<java.lang.String,java.lang.String> obtainPortalInformation()
public static java.util.Map<java.lang.String,java.lang.String> obtainSystemProperties()
public static java.util.Map<java.lang.String,java.lang.String> obtainThreadInformation()
public static java.lang.String obtainAllInformationAsString()
public static void appendDataInformation(java.lang.StringBuilder sb, java.lang.String sourceTitle, java.util.Map<?,?> dataMap)
sb
- the instance of StringBuilder in which the map will be appended.sourceTitle
- a title used to the information inside the map.dataMap
- the map containing the information.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |