Package com.github.jpmsilva.jsystemd
Class Systemd.Builder
java.lang.Object
com.github.jpmsilva.jsystemd.Systemd.Builder
- Enclosing class:
- Systemd
public static class Systemd.Builder extends Object
Specialized build class of 
Systemd objects.- 
Constructor SummaryConstructors Constructor Description Builder()
- 
Method SummaryModifier and Type Method Description Systemdbuild()Builds aSystemdinstance.Systemd.BuilderextendTimeout(long period, @NotNull TimeUnit unit, long timeout)Enables periodic timeout extensions.Systemd.BuilderstatusUpdate(long period, @NotNull TimeUnit unit)Enables periodic status updates.Systemd.Builderwatchdog(long period, @NotNull TimeUnit unit)Enables periodic watchdog timestamp updates.
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
statusUpdateEnables periodic status updates.- Parameters:
- period- the period to use
- unit- the time unit of the period
- Returns:
- the same builder instance
 
- 
extendTimeoutEnables periodic timeout extensions.- Parameters:
- period- the period to use
- unit- the time unit of the period
- timeout- the amount of time to extend the timeout in microseconds
- Returns:
- the same builder instance
 
- 
watchdogEnables periodic watchdog timestamp updates.- Parameters:
- period- the period to use - must be greater than 0; if 0 this method does nothing
- unit- the time unit of the period
- Returns:
- the same builder instance
 
- 
buildBuilds aSystemdinstance.- Returns:
- the instance built
 
 
-