public class DataHelper extends Object
Constructor and Description |
---|
DataHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
appendDataInformation(StringBuilder sb,
String sourceTitle,
Map<?,?> dataMap)
Appends the information in the map as a string in the string builder.
|
static String |
obtainAllInformationAsString(HttpServletRequest request)
Builds a string with all the information (database, environment, general info, etc).
|
static Map<String,String> |
obtainCachedPagesInformation()
Returns a map with the cached pages information.
|
static Map<String,String> |
obtainClusterInformation()
Returns a map with the platform cluster basic information.
|
static Map<String,String> |
obtainDatabaseInformation()
Builds a map with the database information.
|
static Map<String,String> |
obtainElasticsearchInformation()
Returns a map with elasticsearch repository information.
|
static Map<String,String> |
obtainEnvironmentData()
Builds a map with the environment variables.
|
static Map<String,String> |
obtainGeneralInformation(HttpServletRequest request)
Builds a map with general information like date, user timezone, user locale, etc.
|
static Map<String,String> |
obtainMemoryUseInformation()
Builds a map with memory use information.
|
static Map<String,String> |
obtainPageAccessInformation()
Returns a map with the last month page access information.
|
static Map<String,String> |
obtainPageCacheCleanerInformation()
Builds a map with the page cache cleaner information.
|
static Map<String,String> |
obtainPageCacheGeneratorProfileInformation()
Returns a map with the lum_PCGeneratorProfile table information.
|
static Map<String,String> |
obtainPageCacheQueueInformation()
Returns a map with the lum_PCQueue table information.
|
static Map<String,String> |
obtainPCGeneratorConfigInformation()
Returns a map with the lum_PCGeneratorConfig table information.
|
static Map<String,String> |
obtainPortalInformation()
Builds a map with the portal information.
|
static Map<String,String> |
obtainSystemProperties()
Builds a map with the system properties.
|
static Map<String,String> |
obtainThreadInformation()
Builds a map with the thread information.
|
public static Map<String,String> obtainDatabaseInformation()
public static Map<String,String> obtainEnvironmentData()
public static Map<String,String> obtainGeneralInformation(HttpServletRequest request)
public static Map<String,String> obtainMemoryUseInformation()
public static Map<String,String> obtainPageCacheCleanerInformation()
public static Map<String,String> obtainPortalInformation()
public static Map<String,String> obtainSystemProperties()
public static Map<String,String> obtainThreadInformation()
public static String obtainAllInformationAsString(HttpServletRequest request)
public static Map<String,String> obtainCachedPagesInformation()
public static Map<String,String> obtainElasticsearchInformation()
public static Map<String,String> obtainClusterInformation()
public static Map<String,String> obtainPageAccessInformation()
public static Map<String,String> obtainPageCacheQueueInformation()
public static Map<String,String> obtainPCGeneratorConfigInformation()
public static Map<String,String> obtainPageCacheGeneratorProfileInformation()
public static void appendDataInformation(StringBuilder sb, String sourceTitle, 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.LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.