org.graylog2.lookup.caches.AutoValue_CaffeineLookupCache_Config Maven / Gradle / Ivy
package org.graylog2.lookup.caches;
import com.fasterxml.jackson.annotation.JsonIgnore;
import java.lang.Boolean;
import java.lang.String;
import java.util.concurrent.TimeUnit;
import javax.annotation.Nullable;
import javax.validation.constraints.Min;
final class AutoValue_CaffeineLookupCache_Config extends $AutoValue_CaffeineLookupCache_Config {
AutoValue_CaffeineLookupCache_Config(String type, int maxSize, long expireAfterAccess,
TimeUnit expireAfterAccessUnit, long expireAfterWrite, TimeUnit expireAfterWriteUnit,
Boolean ignoreNull) {
super(type, maxSize, expireAfterAccess, expireAfterAccessUnit, expireAfterWrite, expireAfterWriteUnit, ignoreNull);
}
@JsonIgnore
public final String getType() {
return type();
}
@JsonIgnore
@Min(0)
public final int getMaxSize() {
return maxSize();
}
@JsonIgnore
@Min(0)
public final long getExpireAfterAccess() {
return expireAfterAccess();
}
@JsonIgnore
@Nullable
public final TimeUnit getExpireAfterAccessUnit() {
return expireAfterAccessUnit();
}
@JsonIgnore
@Min(0)
public final long getExpireAfterWrite() {
return expireAfterWrite();
}
@JsonIgnore
@Nullable
public final TimeUnit getExpireAfterWriteUnit() {
return expireAfterWriteUnit();
}
@JsonIgnore
@Nullable
public final Boolean isIgnoreNull() {
return ignoreNull();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy