Class Swap

  extended by akka.zeromq.Swap
All Implemented Interfaces:
Request, SocketOption, java.io.Serializable, scala.Equals, scala.Product

public class Swap
extends java.lang.Object
implements SocketOption, scala.Product, scala.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.

param: value

See Also:
Serialized Form

Constructor Summary
Swap(long value)
Method Summary
 long value()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface scala.Product
productArity, productElement, productIterator, productPrefix
Methods inherited from interface scala.Equals
canEqual, equals

Constructor Detail


public Swap(long value)
Method Detail


public long value()