public class HealthCheckGeneral extends Object
Constructor and Description |
---|
HealthCheckGeneral() |
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".LumisXP 12.0.0.190809 - Copyright © 2006–2019 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.