Skip to content

Commit

Permalink
Order annotations consistently
Browse files Browse the repository at this point in the history
  • Loading branch information
mosabua committed Oct 18, 2024
1 parent fae6603 commit d545e45
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ public boolean isInlineSegments()
return inlineSegments;
}

@ConfigDescription("Allow protocol to inline data")
@Config("protocol.spooling.inline-segments")
@ConfigDescription("Allow protocol to inline data")
public SpoolingConfig setInlineSegments(boolean inlineSegments)
{
this.inlineSegments = inlineSegments;
Expand All @@ -126,8 +126,8 @@ public Optional<SecretKey> getSharedEncryptionKey()
return sharedEncryptionKey;
}

@ConfigDescription("256 bit, base64-encoded secret key used to secure segment identifiers")
@Config("protocol.spooling.shared-secret-key")
@ConfigDescription("256 bit, base64-encoded secret key used to secure segment identifiers")
@ConfigSecuritySensitive
public SpoolingConfig setSharedEncryptionKey(String sharedEncryptionKey)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public Layout getLayout()
}

@Config("fs.layout")
@ConfigDescription("Spooled segments filesystem layout")
@ConfigDescription("Spooling segments file system layout")
public FileSystemSpoolingConfig setLayout(Layout layout)
{
this.layout = layout;
Expand All @@ -101,8 +101,8 @@ public Duration getTtl()
return ttl;
}

@ConfigDescription("Maximum duration for the client to retrieve spooled segment before it expires")
@Config("fs.segment.ttl")
@ConfigDescription("Maximum duration for the client to retrieve spooled segment before it expires")
public FileSystemSpoolingConfig setTtl(Duration ttl)
{
this.ttl = ttl;
Expand All @@ -114,8 +114,8 @@ public boolean isEncryptionEnabled()
return encryptionEnabled;
}

@ConfigDescription("Encrypt segments with ephemeral keys")
@Config("fs.segment.encryption")
@ConfigDescription("Encrypt segments with ephemeral keys")
public FileSystemSpoolingConfig setEncryptionEnabled(boolean encryptionEnabled)
{
this.encryptionEnabled = encryptionEnabled;
Expand All @@ -127,8 +127,8 @@ public boolean isPruningEnabled()
return pruningEnabled;
}

@ConfigDescription("Prune expired segments periodically")
@Config("fs.segment.pruning.enabled")
@ConfigDescription("Prune expired segments periodically")
public FileSystemSpoolingConfig setPruningEnabled(boolean pruningEnabled)
{
this.pruningEnabled = pruningEnabled;
Expand All @@ -140,8 +140,8 @@ public Duration getPruningInterval()
return pruningInterval;
}

@ConfigDescription("Interval to prune expired segments")
@Config("fs.segment.pruning.interval")
@ConfigDescription("Interval to prune expired segments")
public FileSystemSpoolingConfig setPruningInterval(Duration pruningInterval)
{
this.pruningInterval = pruningInterval;
Expand All @@ -153,8 +153,8 @@ public long getPruningBatchSize()
return pruningBatchSize;
}

@ConfigDescription("Prune expired segments in batches of provided size")
@Config("fs.segment.pruning.batch-size")
@ConfigDescription("Prune expired segments in batches of provided size")
public FileSystemSpoolingConfig setPruningBatchSize(long pruningBatchSize)
{
this.pruningBatchSize = pruningBatchSize;
Expand Down

0 comments on commit d545e45

Please sign in to comment.