case classSwap(value: Long) extends SocketOption with Product with Serializable
The Swap option shall set the disk offload (swap) size for the specified socket.
A socket which has Swap set to a non-zero value may exceed its high water mark;
in this case outstanding messages shall be offloaded to storage on disk rather than held in memory.
The value of Swap defines the maximum size of the swap space in bytes.
value
Linear Supertypes
Serializable, Serializable, Product, Equals, SocketOption, Request, AnyRef, Any
The Swap option shall set the disk offload (swap) size for the specified socket. A socket which has Swap set to a non-zero value may exceed its high water mark; in this case outstanding messages shall be offloaded to storage on disk rather than held in memory.
The value of Swap defines the maximum size of the swap space in bytes.