Package org.apache.kafka.clients.admin
Class AbstractOptions<T extends AbstractOptions>
- java.lang.Object
-
- org.apache.kafka.clients.admin.AbstractOptions<T>
-
- Direct Known Subclasses:
AlterClientQuotasOptions
,AlterConfigsOptions
,AlterConsumerGroupOffsetsOptions
,AlterPartitionReassignmentsOptions
,AlterReplicaLogDirsOptions
,CreateAclsOptions
,CreateDelegationTokenOptions
,CreatePartitionsOptions
,CreateTopicsOptions
,DeleteAclsOptions
,DeleteConsumerGroupOffsetsOptions
,DeleteConsumerGroupsOptions
,DeleteRecordsOptions
,DeleteTopicsOptions
,DescribeAclsOptions
,DescribeClientQuotasOptions
,DescribeClusterOptions
,DescribeConfigsOptions
,DescribeConsumerGroupsOptions
,DescribeDelegationTokenOptions
,DescribeLogDirsOptions
,DescribeReplicaLogDirsOptions
,DescribeTopicsOptions
,ElectLeadersOptions
,ElectPreferredLeadersOptions
,ExpireDelegationTokenOptions
,ListConsumerGroupOffsetsOptions
,ListConsumerGroupsOptions
,ListOffsetsOptions
,ListPartitionReassignmentsOptions
,ListTopicsOptions
,RemoveMembersFromConsumerGroupOptions
,RenewDelegationTokenOptions
public abstract class AbstractOptions<T extends AbstractOptions> extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Integer
timeoutMs
-
Constructor Summary
Constructors Constructor Description AbstractOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integer
timeoutMs()
The timeout in milliseconds for this operation ornull
if the default api timeout for the AdminClient should be used.T
timeoutMs(java.lang.Integer timeoutMs)
Set the timeout in milliseconds for this operation ornull
if the default api timeout for the AdminClient should be used.
-
-
-
Method Detail
-
timeoutMs
public T timeoutMs(java.lang.Integer timeoutMs)
Set the timeout in milliseconds for this operation ornull
if the default api timeout for the AdminClient should be used.
-
timeoutMs
public java.lang.Integer timeoutMs()
The timeout in milliseconds for this operation ornull
if the default api timeout for the AdminClient should be used.
-
-