Index

A B C D E F G H I P R S T U V W 
All Classes|All Packages

A

addStatusProviders(int, SystemdNotifyStatusProvider...) - Method in class com.github.jpmsilva.jsystemd.Systemd
Adds the status providers to the the list of providers in the specified position.
addStatusProviders(int, List<SystemdNotifyStatusProvider>) - Method in class com.github.jpmsilva.jsystemd.Systemd
Adds the status providers to the the list of providers in the specified position.
addStatusProviders(SystemdNotifyStatusProvider...) - Method in class com.github.jpmsilva.jsystemd.Systemd
Adds the status providers to the end of the list of providers.

B

build() - Method in class com.github.jpmsilva.jsystemd.Systemd.Builder
Builds a Systemd instance.
builder() - Static method in class com.github.jpmsilva.jsystemd.Systemd
Provides a dedicated builder instance that knows how to create Systemd instances.
Builder() - Constructor for class com.github.jpmsilva.jsystemd.Systemd.Builder
 

C

close() - Method in class com.github.jpmsilva.jsystemd.Systemd
com.github.jpmsilva.jsystemd - package com.github.jpmsilva.jsystemd
 
ConditionalOnSystemd - Annotation Type in com.github.jpmsilva.jsystemd
Conditional that only matches when the process is running under systemd.
CONTEXT_LOADED - com.github.jpmsilva.jsystemd.SystemdNotifyApplicationRunStatusProvider.ApplicationState
 
CONTEXT_PREPARED - com.github.jpmsilva.jsystemd.SystemdNotifyApplicationRunStatusProvider.ApplicationState
 
contextLoaded(ConfigurableApplicationContext) - Method in class com.github.jpmsilva.jsystemd.SystemdSpringApplicationRunListener
contextPrepared(ConfigurableApplicationContext) - Method in class com.github.jpmsilva.jsystemd.SystemdSpringApplicationRunListener

D

details - Variable in class com.github.jpmsilva.jsystemd.HealthProvider.Health
 

E

ENVIRONMENT_PREPARED - com.github.jpmsilva.jsystemd.SystemdNotifyApplicationRunStatusProvider.ApplicationState
 
environmentPrepared(ConfigurableEnvironment) - Method in class com.github.jpmsilva.jsystemd.SystemdSpringApplicationRunListener
extendTimeout() - Method in class com.github.jpmsilva.jsystemd.Systemd
Forces the timeout to be extended.
extendTimeout(long, TimeUnit, long) - Method in class com.github.jpmsilva.jsystemd.Systemd.Builder
Enables periodic timeout extensions.

F

failed(ConfigurableApplicationContext, Throwable) - Method in class com.github.jpmsilva.jsystemd.SystemdSpringApplicationRunListener

G

getHealthProvider() - Method in class com.github.jpmsilva.jsystemd.Systemd
Returns the current health provider.
getStatusProviders() - Method in class com.github.jpmsilva.jsystemd.Systemd
Returns a read only view of the current providers.
getUnhealthyPendingPeriodMs() - Method in class com.github.jpmsilva.jsystemd.SystemdHealthProviderProperties
 
getUnhealthyStatusCodes() - Method in class com.github.jpmsilva.jsystemd.SystemdHealthProviderProperties
 

H

health() - Method in interface com.github.jpmsilva.jsystemd.HealthProvider
Determines if an application is healthy.
health() - Method in class com.github.jpmsilva.jsystemd.PendingHealthProvider
 
health() - Method in class com.github.jpmsilva.jsystemd.SystemdNotifyActuatorHealthProvider
 
Health(boolean, Map<String, Object>) - Constructor for class com.github.jpmsilva.jsystemd.HealthProvider.Health
Provides for a health representation (healthy/unhealthy), with health details for each component.
HealthProvider - Interface in com.github.jpmsilva.jsystemd
A health provider can be used to control the watchdog heartbeat.
HealthProvider.Health - Class in com.github.jpmsilva.jsystemd
Wrapper of health state.
healthy - Variable in class com.github.jpmsilva.jsystemd.HealthProvider.Health
 
healthy() - Static method in class com.github.jpmsilva.jsystemd.HealthProvider.Health
Synthesize an health object that represents an healthy application state.

I

isEnabled() - Method in class com.github.jpmsilva.jsystemd.SystemdHealthProviderProperties
 
isReady() - Method in class com.github.jpmsilva.jsystemd.Systemd
Returns if the application as completed startup.

P

PendingHealthProvider - Class in com.github.jpmsilva.jsystemd
Implementation of HealthProvider that suppresses/delays the unhealthy state of a delegate for a configurable period.
PendingHealthProvider(HealthProvider, long, TemporalUnit) - Constructor for class com.github.jpmsilva.jsystemd.PendingHealthProvider
Creates a new health provider that delegates the actual work to the delegate, and delays reporting unhealthy status.
postProcessAfterInitialization(Object, String) - Method in class com.github.jpmsilva.jsystemd.SystemdNotifyApplicationContextStatusProvider
postProcessBeforeInitialization(Object, String) - Method in class com.github.jpmsilva.jsystemd.SystemdNotifyApplicationContextStatusProvider

R

ready() - Method in class com.github.jpmsilva.jsystemd.Systemd
Notifies systemd that the unit is ready.
running(ConfigurableApplicationContext) - Method in class com.github.jpmsilva.jsystemd.SystemdSpringApplicationRunListener

S

setEnabled(boolean) - Method in class com.github.jpmsilva.jsystemd.SystemdHealthProviderProperties
 
setHealthProvider(HealthProvider) - Method in class com.github.jpmsilva.jsystemd.Systemd
Sets the current health provider, overrides any other previously set.
setStatusProviders(List<SystemdNotifyStatusProvider>) - Method in class com.github.jpmsilva.jsystemd.Systemd
Sets the current providers, unregistering any other previously added.
setUnhealthyPendingPeriodMs(Long) - Method in class com.github.jpmsilva.jsystemd.SystemdHealthProviderProperties
 
setUnhealthyStatusCodes(List<String>) - Method in class com.github.jpmsilva.jsystemd.SystemdHealthProviderProperties
 
started(ApplicationReadyEvent) - Method in class com.github.jpmsilva.jsystemd.SystemdAutoConfiguration
 
started(ConfigurableApplicationContext) - Method in class com.github.jpmsilva.jsystemd.SystemdSpringApplicationRunListener
starting() - Method in class com.github.jpmsilva.jsystemd.SystemdSpringApplicationRunListener
STARTING - com.github.jpmsilva.jsystemd.SystemdNotifyApplicationRunStatusProvider.ApplicationState
 
status() - Method in class com.github.jpmsilva.jsystemd.SystemdNotifyActuatorHealthProvider
 
status() - Method in class com.github.jpmsilva.jsystemd.SystemdNotifyApplicationContextStatusProvider
Exposes status information to send to systemd.
status() - Method in class com.github.jpmsilva.jsystemd.SystemdNotifyApplicationRunStatusProvider
Exposes status information to send to systemd.
status() - Method in class com.github.jpmsilva.jsystemd.SystemdNotifyClassLoaderStatusProvider
Exposes status information to send to systemd.
status() - Method in class com.github.jpmsilva.jsystemd.SystemdNotifyHeapStatusProvider
 
status() - Method in class com.github.jpmsilva.jsystemd.SystemdNotifyNonHeapStatusProvider
Exposes status information to send to systemd.
status() - Method in interface com.github.jpmsilva.jsystemd.SystemdNotifyStatusProvider
Exposes status information to send to systemd.
status() - Method in class com.github.jpmsilva.jsystemd.SystemdNotifyTomcatStatusProvider
 
statusUpdate(long, TimeUnit) - Method in class com.github.jpmsilva.jsystemd.Systemd.Builder
Enables periodic status updates.
Systemd - Class in com.github.jpmsilva.jsystemd
The main systemd integration class.
Systemd.Builder - Class in com.github.jpmsilva.jsystemd
Specialized build class of Systemd objects.
SystemdAutoActuatorHealthConfiguration() - Constructor for class com.github.jpmsilva.jsystemd.SystemdAutoConfiguration.SystemdAutoActuatorHealthConfiguration
 
SystemdAutoConfiguration - Class in com.github.jpmsilva.jsystemd
Auto-configuration class for systemd integration.
SystemdAutoConfiguration(Systemd) - Constructor for class com.github.jpmsilva.jsystemd.SystemdAutoConfiguration
 
SystemdAutoConfiguration.SystemdAutoActuatorHealthConfiguration - Class in com.github.jpmsilva.jsystemd
Auto-configuration class for systemd integration when using Spring Boot Actuator.
SystemdAutoConfiguration.SystemdAutoTomcatConfiguration - Class in com.github.jpmsilva.jsystemd
Auto-configuration class for systemd integration when running under Tomcat.
SystemdAutoTomcatConfiguration() - Constructor for class com.github.jpmsilva.jsystemd.SystemdAutoConfiguration.SystemdAutoTomcatConfiguration
 
SystemdHealthProviderProperties - Class in com.github.jpmsilva.jsystemd
Properties class for systemd integration when using Spring Boot Actuator.
SystemdHealthProviderProperties() - Constructor for class com.github.jpmsilva.jsystemd.SystemdHealthProviderProperties
 
SystemdNotifyActuatorHealthProvider - Class in com.github.jpmsilva.jsystemd
Implementation of HealthProvider that provides application health based on Spring Boot Actuator Health Indicators.
SystemdNotifyActuatorHealthProvider(List<HealthIndicator>, Set<Status>) - Constructor for class com.github.jpmsilva.jsystemd.SystemdNotifyActuatorHealthProvider
Creates a new instance using the provided HealthIndicator and Status.
SystemdNotifyApplicationContextStatusProvider - Class in com.github.jpmsilva.jsystemd
Implementation of SystemdNotifyStatusProvider that provides information regarding the bean creation progress of a bean factory.
SystemdNotifyApplicationRunStatusProvider - Class in com.github.jpmsilva.jsystemd
Implementation of SystemdNotifyStatusProvider that provides information regarding the Spring Boot application startup sequence state.
SystemdNotifyApplicationRunStatusProvider.ApplicationState - Enum in com.github.jpmsilva.jsystemd
Enumeration of supported application startup sequence state.
SystemdNotifyClassLoaderStatusProvider - Class in com.github.jpmsilva.jsystemd
Implementation of SystemdNotifyStatusProvider that provides information regarding loaded classes.
SystemdNotifyClassLoaderStatusProvider() - Constructor for class com.github.jpmsilva.jsystemd.SystemdNotifyClassLoaderStatusProvider
 
SystemdNotifyHeapStatusProvider - Class in com.github.jpmsilva.jsystemd
Implementation of SystemdNotifyStatusProvider that provides information regarding the heap zone of the memory.
SystemdNotifyHeapStatusProvider() - Constructor for class com.github.jpmsilva.jsystemd.SystemdNotifyHeapStatusProvider
 
SystemdNotifyNonHeapStatusProvider - Class in com.github.jpmsilva.jsystemd
Implementation of SystemdNotifyStatusProvider that provides information regarding the non-heap zone of the memory.
SystemdNotifyNonHeapStatusProvider() - Constructor for class com.github.jpmsilva.jsystemd.SystemdNotifyNonHeapStatusProvider
 
SystemdNotifyStatusProvider - Interface in com.github.jpmsilva.jsystemd
Interface that represents any object that can contribute with status information regarding the running process to the service supervisor.
SystemdNotifyTomcatStatusProvider - Class in com.github.jpmsilva.jsystemd
Implementation of SystemdNotifyStatusProvider that provides information regarding Tomcat thread pools.
SystemdNotifyTomcatStatusProvider() - Constructor for class com.github.jpmsilva.jsystemd.SystemdNotifyTomcatStatusProvider
 
SystemdSpringApplicationRunListener - Class in com.github.jpmsilva.jsystemd
A Spring Application Run Listener that sets up a SystemdNotifyApplicationRunStatusProvider to provide status updates of the current phase of the application life cycle.
SystemdSpringApplicationRunListener(SpringApplication, String[]) - Constructor for class com.github.jpmsilva.jsystemd.SystemdSpringApplicationRunListener
Mandatory constructor of SpringApplicationRunListener.

T

toString() - Method in class com.github.jpmsilva.jsystemd.HealthProvider.Health
 

U

updateStatus() - Method in class com.github.jpmsilva.jsystemd.Systemd
Forces the current status to be calculated and sent to systemd.

V

valueOf(String) - Static method in enum com.github.jpmsilva.jsystemd.SystemdNotifyApplicationRunStatusProvider.ApplicationState
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.github.jpmsilva.jsystemd.SystemdNotifyApplicationRunStatusProvider.ApplicationState
Returns an array containing the constants of this enum type, in the order they are declared.

W

watchdog() - Method in class com.github.jpmsilva.jsystemd.Systemd
Forces the watchdog timestamp to be updated.
watchdog(long, TimeUnit) - Method in class com.github.jpmsilva.jsystemd.Systemd.Builder
Enables periodic watchdog timestamp updates.
A B C D E F G H I P R S T U V W 
All Classes|All Packages