public class HealthCheckGeneral extends Object
Modifier and Type | Field and Description |
---|---|
static AtomicLong |
countProblemsOpenConnection |
static AtomicLong |
timeToLoadGroupBulkCache |
static AtomicLong |
timeToLoadPrincipalBulkCache |
Constructor and Description |
---|
HealthCheckGeneral() |
public static final AtomicLong timeToLoadPrincipalBulkCache
public static final AtomicLong timeToLoadGroupBulkCache
public static final AtomicLong countProblemsOpenConnection
public void checkTenSecDurationClocks() throws Exception
Exception
public void checkFileManagerConsistency() throws Exception
Exception
public void checkLostEntriesLRResource() throws Exception
Exception
public void checkMySQLMaxAllowedPacket() throws Exception
Exception
public void checkCacheEnableTemplates() throws Exception
Exception
public void checkProductionEnvironment() throws Exception
Exception
public void checkThemeDefinitionExists() throws Exception
Exception
public void checkWebResourceRenderTime() throws Exception
Exception
public void checkApacheReadStaticFileFromTomcat() throws Exception
Exception
public void checkInterfaceRenderXmlSize() throws Exception
Exception
public void checkLanguageConfiguration() throws Exception
Exception
protected Map<String,Date> getLumisServersTime() throws HealthCheckException, PortalException
HealthCheckException
PortalException
protected Date getDatabaseTime()
public void checkTempFilesOnInstalledModules() throws Exception
Exception
public void checkWritingAndReadingTimeOnDisk() throws Exception
Exception
protected long writeFileOnDisk(IFile file, byte[] input) throws IOException
file
- the file.input
- the input.IOException
protected Tuple2<byte[],Long> readFileOnDisk(IFile file) throws IOException
file
- the file.IOException
public void checkProcessQueueForFailedItems() throws Exception
Exception
public void checkBigDataRepositoryStatus() throws Exception
Exception
public void checkInterfaceDataLoadedVsHTML() throws Exception
Exception
protected List<Map<String,Object>> getMostLowHtmlForBigXml()
public static Object getSourceFieldValue(org.elasticsearch.search.SearchHit hit, String... fieldPath)
hit
- a document hit from elasticsearch search.fieldPath
- strings that compose a unique field path. For example, suppose that you have a field "user.name", the parameter will be "user" and "name".public void checkWaitingTimeInProcessQueue() throws Throwable
Throwable
public void checkTimeToLoadPrincipalBulkCache() throws Throwable
Throwable
public void checkTimeToLoadGroupBulkCache() throws Throwable
Throwable
public void checkCountProblemsOpenConnection() throws Throwable
Throwable
public void checkWebResourcePathClash() throws Throwable
Throwable
public void checkRatioPoolSizeByWebThreads() throws Throwable
Throwable
public void checkFileDownloadControllerHtmlForPublicFilesAccess() throws Throwable
Throwable
public void checkMassivePageCacheCleaning() throws Throwable
Throwable
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.