Removed passphraseForPrivateKeyDecryption from

ShardingProcedure.BuilderImpl
This commit is contained in:
Niklas Opiela
2023-06-05 09:02:11 +02:00
parent 86e232801c
commit f60ee7c18a
4 changed files with 0 additions and 8 deletions
@@ -48,7 +48,6 @@ public class AddShardingKeyToShard<ShardingKey, MetricsT extends ApplicationProc
assert shardingKeys != null;
assert replicaSet != null;
assert region != null;
assert passphraseForPrivateKeyDecryption != null;
return new AddShardingKeyToShard<ShardingKey, MetricsT, ProcessT>(this);
}
}
@@ -86,7 +86,6 @@ public class CreateShard<ShardingKey, MetricsT extends ApplicationProcessMetrics
assert shardingKeys != null;
assert replicaSet != null;
assert region != null;
assert passphraseForPrivateKeyDecryption != null;
return new CreateShard<ShardingKey, MetricsT, ProcessT>(this);
}
}
@@ -41,7 +41,6 @@ public class RemoveShardingKeyFromShard<ShardingKey, MetricsT extends Applicatio
assert shardingKeys != null;
assert replicaSet != null;
assert region != null;
assert passphraseForPrivateKeyDecryption != null;
return new RemoveShardingKeyFromShard<ShardingKey, MetricsT, ProcessT>(this);
}
}
@@ -103,7 +103,6 @@ implements ProcedureCreatingLoadBalancerMapping<ShardingKey> {
protected Set<ShardingKey> shardingKeys;
protected AwsApplicationReplicaSet<ShardingKey, MetricsT, ProcessT> replicaSet;
protected Region region;
protected byte[] passphraseForPrivateKeyDecryption;
private String pathPrefixForShardingKey;
@Override
@@ -147,10 +146,6 @@ implements ProcedureCreatingLoadBalancerMapping<ShardingKey> {
return (AwsLandscape<ShardingKey>) super.getLandscape();
}
byte[] getPassphrase() {
return passphraseForPrivateKeyDecryption;
}
Region region() {
return region;
}