Package org.apache.kafka.clients.admin
Class AlterUserScramCredentialsResult
java.lang.Object
org.apache.kafka.clients.admin.AlterUserScramCredentialsResult
@Evolving public class AlterUserScramCredentialsResult extends Object
The result of the
Admin.alterUserScramCredentials(List)
call.
The API of this class is evolving, see Admin
for details.-
Constructor Summary
Constructors Constructor Description AlterUserScramCredentialsResult(Map<String,KafkaFuture<Void>> futures)
-
Method Summary
Modifier and Type Method 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.
-
Constructor Details
-
AlterUserScramCredentialsResult
- Parameters:
futures
- the required map from user names to futures representing the results of the alteration(s) for each user
-
-
Method Details
-
values
Return a map from user names to futures, which can be used to check the status of the alteration(s) for each user. -
all
Return a future which succeeds only if all the user SCRAM credential alterations succeed.
-