Package com.exoscale.sdk.model
Class ConfigureLogCleanerForTopicCompaction
- java.lang.Object
-
- com.exoscale.sdk.model.ConfigureLogCleanerForTopicCompaction
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class ConfigureLogCleanerForTopicCompaction extends Object
ConfigureLogCleanerForTopicCompaction
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConfigureLogCleanerForTopicCompaction.LogCleanupPolicyEnum
The default cleanup policy for segments beyond the retention window
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_LOG_CLEANER_DELETE_RETENTION_MS
static String
JSON_PROPERTY_LOG_CLEANER_MAX_COMPACTION_LAG_MS
static String
JSON_PROPERTY_LOG_CLEANER_MIN_CLEANABLE_RATIO
static String
JSON_PROPERTY_LOG_CLEANER_MIN_COMPACTION_LAG_MS
static String
JSON_PROPERTY_LOG_CLEANUP_POLICY
-
Constructor Summary
Constructors Constructor Description ConfigureLogCleanerForTopicCompaction()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_LOG_CLEANER_DELETE_RETENTION_MS
public static final String JSON_PROPERTY_LOG_CLEANER_DELETE_RETENTION_MS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LOG_CLEANER_MAX_COMPACTION_LAG_MS
public static final String JSON_PROPERTY_LOG_CLEANER_MAX_COMPACTION_LAG_MS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LOG_CLEANER_MIN_CLEANABLE_RATIO
public static final String JSON_PROPERTY_LOG_CLEANER_MIN_CLEANABLE_RATIO
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LOG_CLEANER_MIN_COMPACTION_LAG_MS
public static final String JSON_PROPERTY_LOG_CLEANER_MIN_COMPACTION_LAG_MS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LOG_CLEANUP_POLICY
public static final String JSON_PROPERTY_LOG_CLEANUP_POLICY
- See Also:
- Constant Field Values
-
-
Method Detail
-
logCleanerDeleteRetentionMs
public ConfigureLogCleanerForTopicCompaction logCleanerDeleteRetentionMs(Integer logCleanerDeleteRetentionMs)
-
getLogCleanerDeleteRetentionMs
@Nullable public Integer getLogCleanerDeleteRetentionMs()
How long are delete records retained? minimum: 0 maximum: 315569260000- Returns:
- logCleanerDeleteRetentionMs
-
setLogCleanerDeleteRetentionMs
public void setLogCleanerDeleteRetentionMs(Integer logCleanerDeleteRetentionMs)
-
logCleanerMaxCompactionLagMs
public ConfigureLogCleanerForTopicCompaction logCleanerMaxCompactionLagMs(Integer logCleanerMaxCompactionLagMs)
-
getLogCleanerMaxCompactionLagMs
@Nullable public Integer getLogCleanerMaxCompactionLagMs()
The maximum amount of time message will remain uncompacted. Only applicable for logs that are being compacted minimum: 30000 maximum: 9223372036854775807- Returns:
- logCleanerMaxCompactionLagMs
-
setLogCleanerMaxCompactionLagMs
public void setLogCleanerMaxCompactionLagMs(Integer logCleanerMaxCompactionLagMs)
-
logCleanerMinCleanableRatio
public ConfigureLogCleanerForTopicCompaction logCleanerMinCleanableRatio(BigDecimal logCleanerMinCleanableRatio)
-
getLogCleanerMinCleanableRatio
@Nullable public BigDecimal getLogCleanerMinCleanableRatio()
Controls log compactor frequency. Larger value means more frequent compactions but also more space wasted for logs. Consider setting log.cleaner.max.compaction.lag.ms to enforce compactions sooner, instead of setting a very high value for this option. minimum: 0.2 maximum: 0.9- Returns:
- logCleanerMinCleanableRatio
-
setLogCleanerMinCleanableRatio
public void setLogCleanerMinCleanableRatio(BigDecimal logCleanerMinCleanableRatio)
-
logCleanerMinCompactionLagMs
public ConfigureLogCleanerForTopicCompaction logCleanerMinCompactionLagMs(Integer logCleanerMinCompactionLagMs)
-
getLogCleanerMinCompactionLagMs
@Nullable public Integer getLogCleanerMinCompactionLagMs()
The minimum time a message will remain uncompacted in the log. Only applicable for logs that are being compacted. minimum: 0 maximum: 9223372036854775807- Returns:
- logCleanerMinCompactionLagMs
-
setLogCleanerMinCompactionLagMs
public void setLogCleanerMinCompactionLagMs(Integer logCleanerMinCompactionLagMs)
-
logCleanupPolicy
public ConfigureLogCleanerForTopicCompaction logCleanupPolicy(ConfigureLogCleanerForTopicCompaction.LogCleanupPolicyEnum logCleanupPolicy)
-
getLogCleanupPolicy
@Nullable public ConfigureLogCleanerForTopicCompaction.LogCleanupPolicyEnum getLogCleanupPolicy()
The default cleanup policy for segments beyond the retention window- Returns:
- logCleanupPolicy
-
setLogCleanupPolicy
public void setLogCleanupPolicy(ConfigureLogCleanerForTopicCompaction.LogCleanupPolicyEnum logCleanupPolicy)
-
equals
public boolean equals(Object o)
Return true if this Configure_log_cleaner_for_topic_compaction object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-