Class PoolMasterActor
- All Implemented Interfaces:
- org.apache.pekko.actor.Actor,- org.apache.pekko.actor.ActorLogging
Manages access to a host connection pool or rather: a sequence of pool incarnations.
 A host connection pool for a given HostConnectionPoolSetup is a running stream, whose outside interface is
 provided by its PoolInterface actor. The actor accepts PoolInterface.PoolRequest messages
 and completes their responsePromise whenever the respective response has been received (or an error occurred).
 
 The PoolMasterActor provides a layer of indirection between a PoolId, which represents a pool,
 and the PoolInterface instances which are created on-demand and stopped after an idle-timeout.
 
 Several PoolId objects may be mapped to the same pool if they have the same HostConnectionPoolSetup
 and are marked as being shared. This is the case for example for gateways obtained through
 HttpExt.cachedHostConnectionPool. Some other gateways are not shared, such as those obtained through
 HttpExt.newHostConnectionPool, and will have their dedicated restartable pool.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic final classstatic classstatic final classstatic classstatic final classstatic classstatic interfacestatic final classstatic classstatic final classstatic classstatic final classstatic classstatic final classstatic classstatic final classstatic classstatic final classstatic classNested classes/interfaces inherited from interface org.apache.pekko.actor.Actororg.apache.pekko.actor.Actor.emptyBehavior$, org.apache.pekko.actor.Actor.ignoringBehavior$
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.pekko.actor.ActoraroundPostRestart, aroundPostStop, aroundPreRestart, aroundPreStart, aroundReceive, org$apache$pekko$actor$Actor$_setter_$context_$eq, org$apache$pekko$actor$Actor$_setter_$self_$eq, postRestart, postStop, preRestart, preStart, sender, supervisorStrategy, unhandledMethods inherited from interface org.apache.pekko.actor.ActorLogginglog, org$apache$pekko$actor$ActorLogging$$_log, org$apache$pekko$actor$ActorLogging$$_log_$eq
- 
Constructor Details- 
PoolMasterActorpublic PoolMasterActor()
 
- 
- 
Method Details- 
propspublic static org.apache.pekko.actor.Props props()
- 
contextpublic org.apache.pekko.actor.ActorContext context()- Specified by:
- contextin interface- org.apache.pekko.actor.Actor
 
- 
selfpublic final org.apache.pekko.actor.ActorRef self()- Specified by:
- selfin interface- org.apache.pekko.actor.Actor
 
- 
receive- Specified by:
- receivein interface- org.apache.pekko.actor.Actor
 
 
-