com.transferwise.common.gracefulshutdown.config.GracefulShutdownProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tw-graceful-shutdown Show documentation
Show all versions of tw-graceful-shutdown Show documentation
TransferWise Graceful Shutdown - no noise and errors during releases.
package com.transferwise.common.gracefulshutdown.config;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
@ConfigurationProperties(value = "tw-graceful-shutdown", ignoreUnknownFields = false)
@Data
@SuppressWarnings("checkstyle:magicnumber")
public class GracefulShutdownProperties {
private int shutdownTimeoutMs = 60000;
private int clientsReactionTimeMs = 30000;
private int strategiesCheckIntervalTimeMs = 5000;
}