Module org.refcodes.mixin
Package org.refcodes.mixin
Interface WriteTimeoutMillisAccessor.WriteTimeoutMillisProperty
- All Superinterfaces:
WriteTimeoutMillisAccessor
,WriteTimeoutMillisAccessor.WriteTimeoutMillisMutator
- Enclosing interface:
- WriteTimeoutMillisAccessor
public static interface WriteTimeoutMillisAccessor.WriteTimeoutMillisProperty
extends WriteTimeoutMillisAccessor, WriteTimeoutMillisAccessor.WriteTimeoutMillisMutator
Provides a write timeout in milliseconds property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.mixin.WriteTimeoutMillisAccessor
WriteTimeoutMillisAccessor.WriteTimeoutMillisBuilder<B extends WriteTimeoutMillisAccessor.WriteTimeoutMillisBuilder<B>>, WriteTimeoutMillisAccessor.WriteTimeoutMillisMutator, WriteTimeoutMillisAccessor.WriteTimeoutMillisProperty
-
Method Summary
Modifier and TypeMethodDescriptiondefault long
letWriteTimeoutMillis
(long aWriteTimeoutMillis) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given long (setter) as ofWriteTimeoutMillisAccessor.WriteTimeoutMillisMutator.setWriteTimeoutMillis(long)
and returns the very same value (getter).Methods inherited from interface org.refcodes.mixin.WriteTimeoutMillisAccessor
getWriteTimeoutMillis
Methods inherited from interface org.refcodes.mixin.WriteTimeoutMillisAccessor.WriteTimeoutMillisMutator
setWriteTimeoutMillis
-
Method Details
-
letWriteTimeoutMillis
default long letWriteTimeoutMillis(long aWriteTimeoutMillis) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given long (setter) as ofWriteTimeoutMillisAccessor.WriteTimeoutMillisMutator.setWriteTimeoutMillis(long)
and returns the very same value (getter).- Parameters:
aWriteTimeoutMillis
- The long to set (viaWriteTimeoutMillisAccessor.WriteTimeoutMillisMutator.setWriteTimeoutMillis(long)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-