Module org.refcodes.io
Package org.refcodes.io
Interface MaxConnectionsAccessor.MaxConnectionsProperty
-
- All Superinterfaces:
MaxConnectionsAccessor
,MaxConnectionsAccessor.MaxConnectionsMutator
- Enclosing interface:
- MaxConnectionsAccessor
public static interface MaxConnectionsAccessor.MaxConnectionsProperty extends MaxConnectionsAccessor, MaxConnectionsAccessor.MaxConnectionsMutator
Provides a maximum connections property.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.io.MaxConnectionsAccessor
MaxConnectionsAccessor.MaxConnectionsBuilder<B extends MaxConnectionsAccessor.MaxConnectionsBuilder<B>>, MaxConnectionsAccessor.MaxConnectionsMutator, MaxConnectionsAccessor.MaxConnectionsProperty
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default int
letMaxConnections(int aMaxConnections)
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given integer (setter) as ofMaxConnectionsAccessor.MaxConnectionsMutator.setMaxConnections(int)
and returns the very same value (getter).-
Methods inherited from interface org.refcodes.io.MaxConnectionsAccessor
getMaxConnections
-
Methods inherited from interface org.refcodes.io.MaxConnectionsAccessor.MaxConnectionsMutator
setMaxConnections
-
-
-
-
Method Detail
-
letMaxConnections
default int letMaxConnections(int aMaxConnections)
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given integer (setter) as ofMaxConnectionsAccessor.MaxConnectionsMutator.setMaxConnections(int)
and returns the very same value (getter).- Parameters:
aMaxConnections
- The integer to set (viaMaxConnectionsAccessor.MaxConnectionsMutator.setMaxConnections(int)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-
-