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