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 ClassesModifier and TypeClassDescriptionstatic enum
The default cleanup policy for segments beyond the retention window -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return true if this Configure_log_cleaner_for_topic_compaction object is equal to o.How long are delete records retained? minimum: 0 maximum: 315569260000The maximum amount of time message will remain uncompacted.Controls log compactor frequency.The minimum time a message will remain uncompacted in the log.The default cleanup policy for segments beyond the retention windowint
hashCode()
logCleanerDeleteRetentionMs
(Integer logCleanerDeleteRetentionMs) logCleanerMaxCompactionLagMs
(Integer logCleanerMaxCompactionLagMs) logCleanerMinCleanableRatio
(BigDecimal logCleanerMinCleanableRatio) logCleanerMinCompactionLagMs
(Integer logCleanerMinCompactionLagMs) logCleanupPolicy
(ConfigureLogCleanerForTopicCompaction.LogCleanupPolicyEnum logCleanupPolicy) void
setLogCleanerDeleteRetentionMs
(Integer logCleanerDeleteRetentionMs) void
setLogCleanerMaxCompactionLagMs
(Integer logCleanerMaxCompactionLagMs) void
setLogCleanerMinCleanableRatio
(BigDecimal logCleanerMinCleanableRatio) void
setLogCleanerMinCompactionLagMs
(Integer logCleanerMinCompactionLagMs) void
toString()
Convert the instance into URL query string.toUrlQueryString
(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_LOG_CLEANER_DELETE_RETENTION_MS
- See Also:
-
JSON_PROPERTY_LOG_CLEANER_MAX_COMPACTION_LAG_MS
- See Also:
-
JSON_PROPERTY_LOG_CLEANER_MIN_CLEANABLE_RATIO
- See Also:
-
JSON_PROPERTY_LOG_CLEANER_MIN_COMPACTION_LAG_MS
- See Also:
-
JSON_PROPERTY_LOG_CLEANUP_POLICY
- See Also:
-
-
Constructor Details
-
ConfigureLogCleanerForTopicCompaction
public ConfigureLogCleanerForTopicCompaction()
-
-
Method Details
-
logCleanerDeleteRetentionMs
public ConfigureLogCleanerForTopicCompaction logCleanerDeleteRetentionMs(Integer logCleanerDeleteRetentionMs) -
getLogCleanerDeleteRetentionMs
How long are delete records retained? minimum: 0 maximum: 315569260000- Returns:
- logCleanerDeleteRetentionMs
-
setLogCleanerDeleteRetentionMs
-
logCleanerMaxCompactionLagMs
public ConfigureLogCleanerForTopicCompaction logCleanerMaxCompactionLagMs(Integer logCleanerMaxCompactionLagMs) -
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
-
logCleanerMinCleanableRatio
public ConfigureLogCleanerForTopicCompaction logCleanerMinCleanableRatio(BigDecimal logCleanerMinCleanableRatio) -
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
-
logCleanerMinCompactionLagMs
public ConfigureLogCleanerForTopicCompaction logCleanerMinCompactionLagMs(Integer logCleanerMinCompactionLagMs) -
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
-
logCleanupPolicy
public ConfigureLogCleanerForTopicCompaction logCleanupPolicy(ConfigureLogCleanerForTopicCompaction.LogCleanupPolicyEnum logCleanupPolicy) -
getLogCleanupPolicy
The default cleanup policy for segments beyond the retention window- Returns:
- logCleanupPolicy
-
setLogCleanupPolicy
public void setLogCleanupPolicy(ConfigureLogCleanerForTopicCompaction.LogCleanupPolicyEnum logCleanupPolicy) -
equals
Return true if this Configure_log_cleaner_for_topic_compaction object is equal to o. -
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix
- prefix of the query string- Returns:
- URL query string
-