Package org.apache.kafka.clients.admin
Class AlterConfigsResult
- java.lang.Object
-
- org.apache.kafka.clients.admin.AlterConfigsResult
-
@Evolving public class AlterConfigsResult extends java.lang.Object
The result of theAdmin.alterConfigs(Map)
call. The API of this class is evolving, seeAdmin
for details.
-
-
Constructor Summary
Constructors Constructor Description AlterConfigsResult(java.util.Map<ConfigResource,KafkaFuture<java.lang.Void>> futures)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KafkaFuture<java.lang.Void>
all()
Return a future which succeeds only if all the alter configs operations succeed.java.util.Map<ConfigResource,KafkaFuture<java.lang.Void>>
values()
Return a map from resources to futures which can be used to check the status of the operation on each resource.
-
-
-
Constructor Detail
-
AlterConfigsResult
public AlterConfigsResult(java.util.Map<ConfigResource,KafkaFuture<java.lang.Void>> futures)
-
-
Method Detail
-
values
public java.util.Map<ConfigResource,KafkaFuture<java.lang.Void>> values()
Return a map from resources to futures which can be used to check the status of the operation on each resource.
-
all
public KafkaFuture<java.lang.Void> all()
Return a future which succeeds only if all the alter configs operations succeed.
-
-