Package akka.remote.transport
Class ThrottlerTransportAdapter
- java.lang.Object
-
- akka.remote.transport.AbstractTransportAdapter
-
- akka.remote.transport.ActorTransportAdapter
-
- akka.remote.transport.ThrottlerTransportAdapter
-
- All Implemented Interfaces:
SchemeAugmenter
,Transport
public class ThrottlerTransportAdapter extends ActorTransportAdapter
Deprecated.Classic remoting is deprecated, use Artery. Since 2.6.0.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class akka.remote.transport.ActorTransportAdapter
ActorTransportAdapter.AssociateUnderlying, ActorTransportAdapter.AssociateUnderlying$, ActorTransportAdapter.DisassociateUnderlying, ActorTransportAdapter.DisassociateUnderlying$, ActorTransportAdapter.ListenerRegistered, ActorTransportAdapter.ListenerRegistered$, ActorTransportAdapter.ListenUnderlying, ActorTransportAdapter.ListenUnderlying$, ActorTransportAdapter.TransportOperation
-
Nested classes/interfaces inherited from interface akka.remote.transport.Transport
Transport.ActorAssociationEventListener, Transport.ActorAssociationEventListener$, Transport.AssociationEvent, Transport.AssociationEventListener, Transport.InboundAssociation, Transport.InboundAssociation$, Transport.InvalidAssociationException, Transport.InvalidAssociationException$
-
-
Constructor Summary
Constructors Constructor Description ThrottlerTransportAdapter(Transport _wrappedTransport, ExtendedActorSystem _system)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected java.lang.String
addedSchemeIdentifier()
Deprecated.static ThrottlerTransportAdapter.ThrottleMode
blackholeThrottleMode()
Deprecated.Java API: get the ThrottleMode.Blackhole instancestatic ThrottlerTransportAdapter.Direction
bothDirection()
Deprecated.Java API: get the Direction.Both instancescala.concurrent.Future<java.lang.Object>
managementCommand(java.lang.Object cmd)
Deprecated.This method allows upper layers to send management commands to the transport.protected java.lang.String
managerName()
Deprecated.protected Props
managerProps()
Deprecated.protected int
maximumOverhead()
Deprecated.static ThrottlerTransportAdapter.Direction
receiveDirection()
Deprecated.Java API: get the Direction.Receive instancestatic java.lang.String
SchemeIdentifier()
Deprecated.static ThrottlerTransportAdapter.Direction
sendDirection()
Deprecated.Java API: get the Direction.Send instancestatic java.util.concurrent.atomic.AtomicInteger
UniqueId()
Deprecated.static ThrottlerTransportAdapter.ThrottleMode
unthrottledThrottleMode()
Deprecated.Java API: get the ThrottleMode.Unthrottled instance-
Methods inherited from class akka.remote.transport.ActorTransportAdapter
AskTimeout, interceptAssociate, interceptListen, manager, manager_$eq, shutdown
-
Methods inherited from class akka.remote.transport.AbstractTransportAdapter
associate, ec, isResponsibleFor, listen, maximumPayloadBytes, schemeIdentifier, wrappedTransport
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface akka.remote.transport.SchemeAugmenter
augmentScheme, augmentScheme, removeScheme, removeScheme
-
-
-
-
Constructor Detail
-
ThrottlerTransportAdapter
public ThrottlerTransportAdapter(Transport _wrappedTransport, ExtendedActorSystem _system)
Deprecated.
-
-
Method Detail
-
SchemeIdentifier
public static java.lang.String SchemeIdentifier()
Deprecated.
-
UniqueId
public static java.util.concurrent.atomic.AtomicInteger UniqueId()
Deprecated.
-
sendDirection
public static ThrottlerTransportAdapter.Direction sendDirection()
Deprecated.Java API: get the Direction.Send instance
-
receiveDirection
public static ThrottlerTransportAdapter.Direction receiveDirection()
Deprecated.Java API: get the Direction.Receive instance
-
bothDirection
public static ThrottlerTransportAdapter.Direction bothDirection()
Deprecated.Java API: get the Direction.Both instance
-
blackholeThrottleMode
public static ThrottlerTransportAdapter.ThrottleMode blackholeThrottleMode()
Deprecated.Java API: get the ThrottleMode.Blackhole instance
-
unthrottledThrottleMode
public static ThrottlerTransportAdapter.ThrottleMode unthrottledThrottleMode()
Deprecated.Java API: get the ThrottleMode.Unthrottled instance
-
addedSchemeIdentifier
protected java.lang.String addedSchemeIdentifier()
Deprecated.
-
maximumOverhead
protected int maximumOverhead()
Deprecated.- Specified by:
maximumOverhead
in classAbstractTransportAdapter
-
managerName
protected java.lang.String managerName()
Deprecated.- Specified by:
managerName
in classActorTransportAdapter
-
managerProps
protected Props managerProps()
Deprecated.- Specified by:
managerProps
in classActorTransportAdapter
-
managementCommand
public scala.concurrent.Future<java.lang.Object> managementCommand(java.lang.Object cmd)
Deprecated.Description copied from interface:Transport
This method allows upper layers to send management commands to the transport. It is the responsibility of the sender to send appropriate commands to different transport implementations. Unknown commands will be ignored.- Parameters:
cmd
- Command message to the transport- Returns:
- Future that succeeds when the command was handled or dropped
-
-