Package akka.stream

Class 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 IOSettings apply​(int tcpWriteBufferSize)
      Deprecated.
      Use setting 'akka.stream.materializer.io.tcp.write-buffer-size' or attribute TcpAttributes.writeBufferSize instead.
      static IOSettings apply​(ActorSystem system)
      Deprecated.
      Use setting 'akka.stream.materializer.io.tcp.write-buffer-size' or attribute TcpAttributes.writeBufferSize instead.
      static IOSettings apply​(com.typesafe.config.Config config)
      Deprecated.
      Use setting 'akka.stream.materializer.io.tcp.write-buffer-size' or attribute TcpAttributes.writeBufferSize instead.
      int coalesceWrites()  
      static IOSettings create​(int tcpWriteBufferSize)
      Deprecated.
      Use setting 'akka.stream.materializer.io.tcp.write-buffer-size' or attribute TcpAttributes.writeBufferSize instead.
      static IOSettings create​(ActorSystem system)
      Deprecated.
      Use setting 'akka.stream.materializer.io.tcp.write-buffer-size' or attribute TcpAttributes.writeBufferSize instead.
      static IOSettings create​(com.typesafe.config.Config config)
      Deprecated.
      Use setting 'akka.stream.materializer.io.tcp.write-buffer-size' or attribute TcpAttributes.writeBufferSize instead.
      boolean equals​(java.lang.Object other)  
      int hashCode()  
      int tcpWriteBufferSize()
      Deprecated.
      Use attribute 'TcpAttributes.TcpWriteBufferSize' to read the concrete setting value.
      java.lang.String toString()  
      IOSettings withCoalesceWrites​(int value)  
      IOSettings withTcpWriteBufferSize​(int value)  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • IOSettings

        public IOSettings​(int tcpWriteBufferSize)
        Deprecated.
        Use attribute 'TcpAttributes.TcpWriteBufferSize' to read the concrete setting value. Since 2.6.0.
    • 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:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object