Package akka.remote.transport
Class FailureInjectorHandle
- java.lang.Object
-
- akka.remote.transport.AbstractTransportAdapterHandle
-
- akka.remote.transport.FailureInjectorHandle
-
- All Implemented Interfaces:
AssociationHandle
,AssociationHandle.HandleEventListener
,SchemeAugmenter
,java.io.Serializable
,scala.Equals
,scala.Product
,scala.Serializable
public final class FailureInjectorHandle extends AbstractTransportAdapterHandle implements AssociationHandle.HandleEventListener, scala.Product, scala.Serializable
INTERNAL API- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface akka.remote.transport.AssociationHandle
AssociationHandle.ActorHandleEventListener, AssociationHandle.ActorHandleEventListener$, AssociationHandle.Disassociated, AssociationHandle.Disassociated$, AssociationHandle.DisassociateInfo, AssociationHandle.HandleEvent, AssociationHandle.HandleEventListener, AssociationHandle.InboundPayload, AssociationHandle.InboundPayload$, AssociationHandle.Quarantined$, AssociationHandle.Shutdown$, AssociationHandle.Unknown$
-
-
Constructor Summary
Constructors Constructor Description FailureInjectorHandle(AssociationHandle _wrappedHandle, FailureInjectorTransportAdapter gremlinAdapter)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AssociationHandle
_wrappedHandle()
static FailureInjectorHandle
apply(AssociationHandle _wrappedHandle, FailureInjectorTransportAdapter gremlinAdapter)
static double
apply$mcDDD$sp(double v1, double v2)
static double
apply$mcDDI$sp(double v1, int v2)
static double
apply$mcDDJ$sp(double v1, long v2)
static double
apply$mcDID$sp(int v1, double v2)
static double
apply$mcDII$sp(int v1, int v2)
static double
apply$mcDIJ$sp(int v1, long v2)
static double
apply$mcDJD$sp(long v1, double v2)
static double
apply$mcDJI$sp(long v1, int v2)
static double
apply$mcDJJ$sp(long v1, long v2)
static float
apply$mcFDD$sp(double v1, double v2)
static float
apply$mcFDI$sp(double v1, int v2)
static float
apply$mcFDJ$sp(double v1, long v2)
static float
apply$mcFID$sp(int v1, double v2)
static float
apply$mcFII$sp(int v1, int v2)
static float
apply$mcFIJ$sp(int v1, long v2)
static float
apply$mcFJD$sp(long v1, double v2)
static float
apply$mcFJI$sp(long v1, int v2)
static float
apply$mcFJJ$sp(long v1, long v2)
static int
apply$mcIDD$sp(double v1, double v2)
static int
apply$mcIDI$sp(double v1, int v2)
static int
apply$mcIDJ$sp(double v1, long v2)
static int
apply$mcIID$sp(int v1, double v2)
static int
apply$mcIII$sp(int v1, int v2)
static int
apply$mcIIJ$sp(int v1, long v2)
static int
apply$mcIJD$sp(long v1, double v2)
static int
apply$mcIJI$sp(long v1, int v2)
static int
apply$mcIJJ$sp(long v1, long v2)
static long
apply$mcJDD$sp(double v1, double v2)
static long
apply$mcJDI$sp(double v1, int v2)
static long
apply$mcJDJ$sp(double v1, long v2)
static long
apply$mcJID$sp(int v1, double v2)
static long
apply$mcJII$sp(int v1, int v2)
static long
apply$mcJIJ$sp(int v1, long v2)
static long
apply$mcJJD$sp(long v1, double v2)
static long
apply$mcJJI$sp(long v1, int v2)
static long
apply$mcJJJ$sp(long v1, long v2)
static void
apply$mcVDD$sp(double v1, double v2)
static void
apply$mcVDI$sp(double v1, int v2)
static void
apply$mcVDJ$sp(double v1, long v2)
static void
apply$mcVID$sp(int v1, double v2)
static void
apply$mcVII$sp(int v1, int v2)
static void
apply$mcVIJ$sp(int v1, long v2)
static void
apply$mcVJD$sp(long v1, double v2)
static void
apply$mcVJI$sp(long v1, int v2)
static void
apply$mcVJJ$sp(long v1, long v2)
static boolean
apply$mcZDD$sp(double v1, double v2)
static boolean
apply$mcZDI$sp(double v1, int v2)
static boolean
apply$mcZDJ$sp(double v1, long v2)
static boolean
apply$mcZID$sp(int v1, double v2)
static boolean
apply$mcZII$sp(int v1, int v2)
static boolean
apply$mcZIJ$sp(int v1, long v2)
static boolean
apply$mcZJD$sp(long v1, double v2)
static boolean
apply$mcZJI$sp(long v1, int v2)
static boolean
apply$mcZJJ$sp(long v1, long v2)
boolean
canEqual(java.lang.Object x$1)
FailureInjectorHandle
copy(AssociationHandle _wrappedHandle, FailureInjectorTransportAdapter gremlinAdapter)
AssociationHandle
copy$default$1()
FailureInjectorTransportAdapter
copy$default$2()
void
disassociate()
Deprecated.Use method that states reasons to make sure disassociation reasons are logged.void
disassociate(java.lang.String reason, LoggingAdapter log)
Closes the underlying transport link, if needed.boolean
equals(java.lang.Object x$1)
FailureInjectorTransportAdapter
gremlinAdapter$access$1()
int
hashCode()
void
notify(AssociationHandle.HandleEvent ev)
int
productArity()
java.lang.Object
productElement(int x$1)
scala.collection.Iterator<java.lang.Object>
productIterator()
java.lang.String
productPrefix()
scala.concurrent.Promise<AssociationHandle.HandleEventListener>
readHandlerPromise()
The Promise returned by this call must be completed with anAssociationHandle.HandleEventListener
to register a listener responsible for handling incoming payload.java.lang.String
toString()
static scala.Option<scala.Tuple2<AssociationHandle,FailureInjectorTransportAdapter>>
unapply(FailureInjectorHandle x$0)
boolean
write(ByteString payload)
Asynchronously sends the specified payload to the remote endpoint.-
Methods inherited from class akka.remote.transport.AbstractTransportAdapterHandle
addedSchemeIdentifier, localAddress, originalLocalAddress, originalRemoteAddress, remoteAddress, wrappedHandle
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface akka.remote.transport.SchemeAugmenter
augmentScheme, augmentScheme, removeScheme, removeScheme
-
-
-
-
Constructor Detail
-
FailureInjectorHandle
public FailureInjectorHandle(AssociationHandle _wrappedHandle, FailureInjectorTransportAdapter gremlinAdapter)
-
-
Method Detail
-
apply
public static FailureInjectorHandle apply(AssociationHandle _wrappedHandle, FailureInjectorTransportAdapter gremlinAdapter)
-
unapply
public static scala.Option<scala.Tuple2<AssociationHandle,FailureInjectorTransportAdapter>> unapply(FailureInjectorHandle x$0)
-
apply$mcZDD$sp
public static boolean apply$mcZDD$sp(double v1, double v2)
-
apply$mcDDD$sp
public static double apply$mcDDD$sp(double v1, double v2)
-
apply$mcFDD$sp
public static float apply$mcFDD$sp(double v1, double v2)
-
apply$mcIDD$sp
public static int apply$mcIDD$sp(double v1, double v2)
-
apply$mcJDD$sp
public static long apply$mcJDD$sp(double v1, double v2)
-
apply$mcVDD$sp
public static void apply$mcVDD$sp(double v1, double v2)
-
apply$mcZDI$sp
public static boolean apply$mcZDI$sp(double v1, int v2)
-
apply$mcDDI$sp
public static double apply$mcDDI$sp(double v1, int v2)
-
apply$mcFDI$sp
public static float apply$mcFDI$sp(double v1, int v2)
-
apply$mcIDI$sp
public static int apply$mcIDI$sp(double v1, int v2)
-
apply$mcJDI$sp
public static long apply$mcJDI$sp(double v1, int v2)
-
apply$mcVDI$sp
public static void apply$mcVDI$sp(double v1, int v2)
-
apply$mcZDJ$sp
public static boolean apply$mcZDJ$sp(double v1, long v2)
-
apply$mcDDJ$sp
public static double apply$mcDDJ$sp(double v1, long v2)
-
apply$mcFDJ$sp
public static float apply$mcFDJ$sp(double v1, long v2)
-
apply$mcIDJ$sp
public static int apply$mcIDJ$sp(double v1, long v2)
-
apply$mcJDJ$sp
public static long apply$mcJDJ$sp(double v1, long v2)
-
apply$mcVDJ$sp
public static void apply$mcVDJ$sp(double v1, long v2)
-
apply$mcZID$sp
public static boolean apply$mcZID$sp(int v1, double v2)
-
apply$mcDID$sp
public static double apply$mcDID$sp(int v1, double v2)
-
apply$mcFID$sp
public static float apply$mcFID$sp(int v1, double v2)
-
apply$mcIID$sp
public static int apply$mcIID$sp(int v1, double v2)
-
apply$mcJID$sp
public static long apply$mcJID$sp(int v1, double v2)
-
apply$mcVID$sp
public static void apply$mcVID$sp(int v1, double v2)
-
apply$mcZII$sp
public static boolean apply$mcZII$sp(int v1, int v2)
-
apply$mcDII$sp
public static double apply$mcDII$sp(int v1, int v2)
-
apply$mcFII$sp
public static float apply$mcFII$sp(int v1, int v2)
-
apply$mcIII$sp
public static int apply$mcIII$sp(int v1, int v2)
-
apply$mcJII$sp
public static long apply$mcJII$sp(int v1, int v2)
-
apply$mcVII$sp
public static void apply$mcVII$sp(int v1, int v2)
-
apply$mcZIJ$sp
public static boolean apply$mcZIJ$sp(int v1, long v2)
-
apply$mcDIJ$sp
public static double apply$mcDIJ$sp(int v1, long v2)
-
apply$mcFIJ$sp
public static float apply$mcFIJ$sp(int v1, long v2)
-
apply$mcIIJ$sp
public static int apply$mcIIJ$sp(int v1, long v2)
-
apply$mcJIJ$sp
public static long apply$mcJIJ$sp(int v1, long v2)
-
apply$mcVIJ$sp
public static void apply$mcVIJ$sp(int v1, long v2)
-
apply$mcZJD$sp
public static boolean apply$mcZJD$sp(long v1, double v2)
-
apply$mcDJD$sp
public static double apply$mcDJD$sp(long v1, double v2)
-
apply$mcFJD$sp
public static float apply$mcFJD$sp(long v1, double v2)
-
apply$mcIJD$sp
public static int apply$mcIJD$sp(long v1, double v2)
-
apply$mcJJD$sp
public static long apply$mcJJD$sp(long v1, double v2)
-
apply$mcVJD$sp
public static void apply$mcVJD$sp(long v1, double v2)
-
apply$mcZJI$sp
public static boolean apply$mcZJI$sp(long v1, int v2)
-
apply$mcDJI$sp
public static double apply$mcDJI$sp(long v1, int v2)
-
apply$mcFJI$sp
public static float apply$mcFJI$sp(long v1, int v2)
-
apply$mcIJI$sp
public static int apply$mcIJI$sp(long v1, int v2)
-
apply$mcJJI$sp
public static long apply$mcJJI$sp(long v1, int v2)
-
apply$mcVJI$sp
public static void apply$mcVJI$sp(long v1, int v2)
-
apply$mcZJJ$sp
public static boolean apply$mcZJJ$sp(long v1, long v2)
-
apply$mcDJJ$sp
public static double apply$mcDJJ$sp(long v1, long v2)
-
apply$mcFJJ$sp
public static float apply$mcFJJ$sp(long v1, long v2)
-
apply$mcIJJ$sp
public static int apply$mcIJJ$sp(long v1, long v2)
-
apply$mcJJJ$sp
public static long apply$mcJJJ$sp(long v1, long v2)
-
apply$mcVJJ$sp
public static void apply$mcVJJ$sp(long v1, long v2)
-
gremlinAdapter$access$1
public FailureInjectorTransportAdapter gremlinAdapter$access$1()
-
_wrappedHandle
public AssociationHandle _wrappedHandle()
-
readHandlerPromise
public scala.concurrent.Promise<AssociationHandle.HandleEventListener> readHandlerPromise()
Description copied from interface:AssociationHandle
The Promise returned by this call must be completed with anAssociationHandle.HandleEventListener
to register a listener responsible for handling incoming payload. Until the listener is not registered the transport SHOULD buffer incoming messages.- Specified by:
readHandlerPromise
in interfaceAssociationHandle
- Returns:
- Promise that must be completed with the listener responsible for handling incoming data.
-
write
public boolean write(ByteString payload)
Description copied from interface:AssociationHandle
Asynchronously sends the specified payload to the remote endpoint. This method MUST be thread-safe as it might be called from different threads. This method MUST NOT block.Writes guarantee ordering of messages, but not their reception. The call to write returns with a Boolean indicating if the channel was ready for writes or not. A return value of false indicates that the channel is not yet ready for delivery (e.g.: the write buffer is full) and the sender needs to wait until the channel becomes ready again. Returning false also means that the current write was dropped (this MUST be guaranteed to ensure duplication-free delivery).
- Specified by:
write
in interfaceAssociationHandle
- Parameters:
payload
- The payload to be delivered to the remote endpoint.- Returns:
- Boolean indicating the availability of the association for subsequent writes.
-
disassociate
public void disassociate(java.lang.String reason, LoggingAdapter log)
Description copied from interface:AssociationHandle
Closes the underlying transport link, if needed. Some transports might not need an explicit teardown (UDP) and some transports may not support it (hardware connections). Remote endpoint of the channel or connection MAY be notified, but this is not guaranteed. The Transport that provides the handle MUST guarantee that disassociate() could be called arbitrarily many times.- Specified by:
disassociate
in interfaceAssociationHandle
- Parameters:
reason
- (undocumented)log
- (undocumented)
-
disassociate
public void disassociate()
Deprecated.Use method that states reasons to make sure disassociation reasons are logged. Since 2.5.3.Description copied from interface:AssociationHandle
Closes the underlying transport link, if needed. Some transports might not need an explicit teardown (UDP) and some transports may not support it (hardware connections). Remote endpoint of the channel or connection MAY be notified, but this is not guaranteed. The Transport that provides the handle MUST guarantee that disassociate() could be called arbitrarily many times.- Specified by:
disassociate
in interfaceAssociationHandle
-
notify
public void notify(AssociationHandle.HandleEvent ev)
- Specified by:
notify
in interfaceAssociationHandle.HandleEventListener
-
copy
public FailureInjectorHandle copy(AssociationHandle _wrappedHandle, FailureInjectorTransportAdapter gremlinAdapter)
-
copy$default$1
public AssociationHandle copy$default$1()
-
copy$default$2
public FailureInjectorTransportAdapter 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
-
-