Package org.apache.kafka.clients.admin
Class ExpireDelegationTokenOptions
java.lang.Object
org.apache.kafka.clients.admin.AbstractOptions<ExpireDelegationTokenOptions>
org.apache.kafka.clients.admin.ExpireDelegationTokenOptions
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.kafka.clients.admin.AbstractOptions
timeoutMs, timeoutMs
-
Constructor Details
-
ExpireDelegationTokenOptions
public ExpireDelegationTokenOptions()
-
-
Method Details
-
expiryTimePeriodMs
- Parameters:
expiryTimePeriodMs
- the time period until we should expire this token.expiryTimePeriodMs
>= 0: the token will update the expiration timestamp to min(now + expiryTimePeriodMs, maxTimestamp)expiryTimePeriodMs
< 0: token will be expired immediately.
-
expiryTimePeriodMs
public long expiryTimePeriodMs()
-