Package org.eblocker.server.http.service
Class DiagnosticsReportService
java.lang.Object
org.eblocker.server.http.service.DiagnosticsReportService
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDiagnosticsReportService(String diagnosticsReportFile, String reportCreateScript, ScheduledExecutorService executorService, ScriptRunner scriptRunner, JsonWebTokenHandler tokenHandler, String tmpDir, String systemLog, EventService eventService) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]voidrunReportScript(java.nio.file.Path reportOutputDir, String remoteAddress) voidstartGeneration(String remoteAddress)
-
Field Details
-
PREFIX
- See Also:
-
SYSTEM_LOG_ENTRY
- See Also:
-
EVENTS_LOG_ENTRY
- See Also:
-
NETTY_POOL_ENTRY
- See Also:
-
-
Constructor Details
-
DiagnosticsReportService
@Inject public DiagnosticsReportService(String diagnosticsReportFile, String reportCreateScript, ScheduledExecutorService executorService, ScriptRunner scriptRunner, JsonWebTokenHandler tokenHandler, String tmpDir, String systemLog, EventService eventService)
-
-
Method Details
-
startGeneration
- Throws:
IOException
-
runReportScript
public void runReportScript(java.nio.file.Path reportOutputDir, String remoteAddress) throws InterruptedException - Throws:
InterruptedException
-
getStatus
-
getReport
- Throws:
IOException
-