public static class SystemPolling.Builder extends Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
SystemPolling |
build() |
SystemPolling.Builder |
nameProvider(SystemPolling.NameProvider nameProvider)
The name provider for this
SystemPolling
the default value for this is a simple UUID |
SystemPolling.Builder |
outputDirectory(File outputDirectory)
The output directory for the files
|
SystemPolling.Builder |
pollEveryMillis(long pollEveryMillis)
The interval in milliseconds in which to poll
the system for diagnostics
|
public SystemPolling.Builder nameProvider(SystemPolling.NameProvider nameProvider)
SystemPolling
the default value for this is a simple UUIDnameProvider - the name provider to usepublic SystemPolling.Builder pollEveryMillis(long pollEveryMillis)
pollEveryMillis - the interval in millisecondspublic SystemPolling.Builder outputDirectory(File outputDirectory)
outputDirectory - the output directory for the logspublic SystemPolling build()
Copyright © 2020. All rights reserved.