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 theAdmin.alterUserScramCredentials(List)
call. The API of this class is evolving, seeAdmin
for details.
-
-
Constructor Summary
Constructors Constructor Description AlterUserScramCredentialsResult(Map<String,KafkaFuture<Void>> futures)
-
Method Summary
All Methods Instance Methods Concrete Methods 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 Detail
-
AlterUserScramCredentialsResult
public AlterUserScramCredentialsResult(Map<String,KafkaFuture<Void>> futures)
- Parameters:
futures
- the required map from user names to futures representing the results of the alteration(s) for each user
-
-
Method Detail
-
values
public 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.
-
all
public KafkaFuture<Void> all()
Return a future which succeeds only if all the user SCRAM credential alterations succeed.
-
-