Package org.apache.pekko.stream
Class ActorAttributes.MaxFixedBufferSize
java.lang.Object
org.apache.pekko.stream.ActorAttributes.MaxFixedBufferSize
- All Implemented Interfaces:
Serializable,Attributes.Attribute,Attributes.MandatoryAttribute,scala.Equals,scala.Product
- Enclosing class:
- ActorAttributes
public static final class ActorAttributes.MaxFixedBufferSize
extends Object
implements Attributes.MandatoryAttribute, scala.Product, Serializable
Configure the maximum buffer size for which a FixedSizeBuffer will be preallocated.
This defaults to a large value because it is usually better to fail early when
system memory is not sufficient to hold the buffer.
Use factory method ActorAttributes.maxFixedBufferSize(int) to create.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancopy(int size) intbooleaninthashCode()intproductElement(int x$1) productElementName(int x$1) scala.collection.Iterator<Object>intsize()toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Product
productElementNames
-
Constructor Details
-
MaxFixedBufferSize
public MaxFixedBufferSize(int size)
-
-
Method Details
-
size
public int size() -
copy
-
copy$default$1
public int copy$default$1() -
productPrefix
- Specified by:
productPrefixin interfacescala.Product
-
productArity
public int productArity()- Specified by:
productArityin interfacescala.Product
-
productElement
- Specified by:
productElementin interfacescala.Product
-
productIterator
- Specified by:
productIteratorin interfacescala.Product
-
canEqual
- Specified by:
canEqualin interfacescala.Equals
-
productElementName
- Specified by:
productElementNamein interfacescala.Product
-
hashCode
public int hashCode() -
toString
-
equals
-