@InterfaceStability.Evolving public class AlterUserScramCredentialsResult extends Object
Admin.alterUserScramCredentials(List)
call.
The API of this class is evolving, see Admin
for details.Constructor and Description |
---|
AlterUserScramCredentialsResult(Map<String,KafkaFuture<Void>> futures) |
Modifier and Type | Method and Description |
---|---|
KafkaFuture<Void> |
all()
Return a future which succeeds only if all the user SCRAM credential alterations succeed.
|
Map<String,KafkaFuture<Void>> |
values()
Return a map from user names to futures, which can be used to check the status of the alteration(s)
for each user.
|
public AlterUserScramCredentialsResult(Map<String,KafkaFuture<Void>> futures)
futures
- the required map from user names to futures representing the results of the alteration(s)
for each userpublic Map<String,KafkaFuture<Void>> values()
public KafkaFuture<Void> all()