Package org.apache.qpid.protonj2.client
Class TerminusOptions<E extends TerminusOptions<E>>
java.lang.Object
org.apache.qpid.protonj2.client.TerminusOptions<E>
- Type Parameters:
E
- the subclass that implements this terminus options type.
- Direct Known Subclasses:
SourceOptions
,TargetOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionString[]
capabilities
(String... capabilities) protected void
copyInto
(TerminusOptions<E> other) durabilityMode
(DurabilityMode durabilityMode) expiryPolicy
(ExpiryPolicy expiryPolicy) long
timeout()
timeout
(long timeout)
-
Constructor Details
-
TerminusOptions
public TerminusOptions()
-
-
Method Details
-
durabilityMode
- Returns:
- the durabilityMode
-
durabilityMode
- Parameters:
durabilityMode
- the durabilityMode to set- Returns:
- this options instance.
-
timeout
public long timeout()- Returns:
- the timeout
-
timeout
- Parameters:
timeout
- the timeout to set- Returns:
- this options instance.
-
expiryPolicy
- Returns:
- the expiryPolicy
-
expiryPolicy
- Parameters:
expiryPolicy
- the expiryPolicy to set- Returns:
- this options instance.
-
capabilities
- Returns:
- the capabilities
-
capabilities
- Parameters:
capabilities
- the capabilities to set- Returns:
- this options instance.
-
copyInto
-