Package akka.remote.artery
Class Association.LazyQueueWrapper
- java.lang.Object
-
- akka.remote.artery.Association.LazyQueueWrapper
-
- All Implemented Interfaces:
Association.QueueWrapper
,SendQueue.ProducerApi<OutboundEnvelope>
,java.io.Serializable
,scala.Equals
,scala.Product
,scala.Serializable
- Enclosing class:
- Association
public static final class Association.LazyQueueWrapper extends java.lang.Object implements Association.QueueWrapper, scala.Product, scala.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LazyQueueWrapper(java.util.Queue<OutboundEnvelope> queue, scala.Function0<scala.runtime.BoxedUnit> materialize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canEqual(java.lang.Object x$1)
Association.LazyQueueWrapper
copy(java.util.Queue<OutboundEnvelope> queue, scala.Function0<scala.runtime.BoxedUnit> materialize)
java.util.Queue<OutboundEnvelope>
copy$default$1()
scala.Function0<scala.runtime.BoxedUnit>
copy$default$2()
boolean
equals(java.lang.Object x$1)
int
hashCode()
boolean
isEnabled()
scala.Function0<scala.runtime.BoxedUnit>
materialize()
boolean
offer(OutboundEnvelope message)
int
productArity()
java.lang.Object
productElement(int x$1)
scala.collection.Iterator<java.lang.Object>
productIterator()
java.lang.String
productPrefix()
java.util.Queue<OutboundEnvelope>
queue()
void
runMaterialize()
java.lang.String
toString()
-
-
-
Constructor Detail
-
LazyQueueWrapper
public LazyQueueWrapper(java.util.Queue<OutboundEnvelope> queue, scala.Function0<scala.runtime.BoxedUnit> materialize)
-
-
Method Detail
-
queue
public java.util.Queue<OutboundEnvelope> queue()
- Specified by:
queue
in interfaceAssociation.QueueWrapper
-
materialize
public scala.Function0<scala.runtime.BoxedUnit> materialize()
-
runMaterialize
public void runMaterialize()
-
offer
public boolean offer(OutboundEnvelope message)
- Specified by:
offer
in interfaceSendQueue.ProducerApi<OutboundEnvelope>
-
isEnabled
public boolean isEnabled()
- Specified by:
isEnabled
in interfaceSendQueue.ProducerApi<OutboundEnvelope>
-
copy
public Association.LazyQueueWrapper copy(java.util.Queue<OutboundEnvelope> queue, scala.Function0<scala.runtime.BoxedUnit> materialize)
-
copy$default$1
public java.util.Queue<OutboundEnvelope> copy$default$1()
-
copy$default$2
public scala.Function0<scala.runtime.BoxedUnit> copy$default$2()
-
productPrefix
public java.lang.String productPrefix()
- Specified by:
productPrefix
in interfacescala.Product
-
productArity
public int productArity()
- Specified by:
productArity
in interfacescala.Product
-
productElement
public java.lang.Object productElement(int x$1)
- Specified by:
productElement
in interfacescala.Product
-
productIterator
public scala.collection.Iterator<java.lang.Object> productIterator()
- Specified by:
productIterator
in interfacescala.Product
-
canEqual
public boolean canEqual(java.lang.Object x$1)
- Specified by:
canEqual
in interfacescala.Equals
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object x$1)
- Specified by:
equals
in interfacescala.Equals
- Overrides:
equals
in classjava.lang.Object
-
-