Package org.jboss.modcluster.mcmp.impl
Class ResetRequestSourceImpl
java.lang.Object
org.jboss.modcluster.mcmp.impl.ResetRequestSourceImpl
- All Implemented Interfaces:
ResetRequestSource
- Author:
- Paul Ferraro
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jboss.modcluster.mcmp.ResetRequestSource
ResetRequestSource.Status, ResetRequestSource.VirtualHost
-
Constructor Summary
ConstructorDescriptionResetRequestSourceImpl
(NodeConfiguration nodeConfig, BalancerConfiguration balancerConfig, MCMPRequestFactory requestFactory) -
Method Summary
Modifier and TypeMethodDescriptiongetResetRequests
(Map<String, Set<ResetRequestSource.VirtualHost>> response) Gets a list of requests that should be sent to an httpd-side mod_cluster instance when anMCMPHandler
determines that its state needs to be reset.void
init
(Server server, ContextFilter contextFilter)
-
Constructor Details
-
ResetRequestSourceImpl
public ResetRequestSourceImpl(NodeConfiguration nodeConfig, BalancerConfiguration balancerConfig, MCMPRequestFactory requestFactory)
-
-
Method Details
-
init
- Specified by:
init
in interfaceResetRequestSource
-
getResetRequests
Description copied from interface:ResetRequestSource
Gets a list of requests that should be sent to an httpd-side mod_cluster instance when anMCMPHandler
determines that its state needs to be reset.- Specified by:
getResetRequests
in interfaceResetRequestSource
- Parameters:
response
- a parsed INFO-RSP, expressed as a map of virtual hosts per jvmRoute- Returns:
- a list of requests. Will not return
null
.
-