
pl.allegro.tech.hermes.management.config.SchemaCacheProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hermes-management Show documentation
Show all versions of hermes-management Show documentation
Fast and reliable message broker built on top of Kafka.
package pl.allegro.tech.hermes.management.config;
import org.springframework.boot.context.properties.ConfigurationProperties;
@ConfigurationProperties(prefix = "schema.cache")
public class SchemaCacheProperties {
private int poolSize = 2;
private int refreshAfterWriteMinutes = 10;
private int expireAfterWriteMinutes = 60 * 24;
public int getPoolSize() {
return poolSize;
}
public void setPoolSize(int poolSize) {
this.poolSize = poolSize;
}
public int getRefreshAfterWriteMinutes() {
return refreshAfterWriteMinutes;
}
public void setRefreshAfterWriteMinutes(int refreshAfterWriteMinutes) {
this.refreshAfterWriteMinutes = refreshAfterWriteMinutes;
}
public int getExpireAfterWriteMinutes() {
return expireAfterWriteMinutes;
}
public void setExpireAfterWriteMinutes(int expireAfterWriteMinutes) {
this.expireAfterWriteMinutes = expireAfterWriteMinutes;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy