Package akka.stream
Class IOSettings
- java.lang.Object
-
- akka.stream.IOSettings
-
public final class IOSettings extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description IOSettings(int tcpWriteBufferSize)Deprecated.Use attribute 'TcpAttributes.TcpWriteBufferSize' to read the concrete setting value.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static IOSettingsapply(int tcpWriteBufferSize)Deprecated.Use setting 'akka.stream.materializer.io.tcp.write-buffer-size' or attribute TcpAttributes.writeBufferSize instead.static IOSettingsapply(ActorSystem system)Deprecated.Use setting 'akka.stream.materializer.io.tcp.write-buffer-size' or attribute TcpAttributes.writeBufferSize instead.static IOSettingsapply(com.typesafe.config.Config config)Deprecated.Use setting 'akka.stream.materializer.io.tcp.write-buffer-size' or attribute TcpAttributes.writeBufferSize instead.intcoalesceWrites()static IOSettingscreate(int tcpWriteBufferSize)Deprecated.Use setting 'akka.stream.materializer.io.tcp.write-buffer-size' or attribute TcpAttributes.writeBufferSize instead.static IOSettingscreate(ActorSystem system)Deprecated.Use setting 'akka.stream.materializer.io.tcp.write-buffer-size' or attribute TcpAttributes.writeBufferSize instead.static IOSettingscreate(com.typesafe.config.Config config)Deprecated.Use setting 'akka.stream.materializer.io.tcp.write-buffer-size' or attribute TcpAttributes.writeBufferSize instead.booleanequals(java.lang.Object other)inthashCode()inttcpWriteBufferSize()Deprecated.Use attribute 'TcpAttributes.TcpWriteBufferSize' to read the concrete setting value.java.lang.StringtoString()IOSettingswithCoalesceWrites(int value)IOSettingswithTcpWriteBufferSize(int value)
-
-
-
Method Detail
-
apply
public static IOSettings apply(ActorSystem system)
Deprecated.Use setting 'akka.stream.materializer.io.tcp.write-buffer-size' or attribute TcpAttributes.writeBufferSize instead. Since 2.6.0.
-
apply
public static IOSettings apply(com.typesafe.config.Config config)
Deprecated.Use setting 'akka.stream.materializer.io.tcp.write-buffer-size' or attribute TcpAttributes.writeBufferSize instead. Since 2.6.0.
-
apply
public static IOSettings apply(int tcpWriteBufferSize)
Deprecated.Use setting 'akka.stream.materializer.io.tcp.write-buffer-size' or attribute TcpAttributes.writeBufferSize instead. Since 2.6.0.
-
create
public static IOSettings create(com.typesafe.config.Config config)
Deprecated.Use setting 'akka.stream.materializer.io.tcp.write-buffer-size' or attribute TcpAttributes.writeBufferSize instead. Since 2.6.0.
-
create
public static IOSettings create(ActorSystem system)
Deprecated.Use setting 'akka.stream.materializer.io.tcp.write-buffer-size' or attribute TcpAttributes.writeBufferSize instead. Since 2.6.0.
-
create
public static IOSettings create(int tcpWriteBufferSize)
Deprecated.Use setting 'akka.stream.materializer.io.tcp.write-buffer-size' or attribute TcpAttributes.writeBufferSize instead. Since 2.6.0.
-
tcpWriteBufferSize
public int tcpWriteBufferSize()
Deprecated.Use attribute 'TcpAttributes.TcpWriteBufferSize' to read the concrete setting value. Since 2.6.0.
-
coalesceWrites
public int coalesceWrites()
-
withTcpWriteBufferSize
public IOSettings withTcpWriteBufferSize(int value)
-
withCoalesceWrites
public IOSettings withCoalesceWrites(int value)
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-