Class ExternalClientProperties.Client
java.lang.Object
com.broadleafcommerce.common.extension.intercommunication.ExternalClientProperties.Client
- Enclosing class:
- ExternalClientProperties
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleaninthashCode()booleanWhether optimizing microservice interlink requests should be optimized with a direct method call when the targeted service is colocated in the same flexpackage.voidsetLoopbackOptimizationEnabled(boolean loopbackOptimizationEnabled) Whether optimizing microservice interlink requests should be optimized with a direct method call when the targeted service is colocated in the same flexpackage.toString()
-
Constructor Details
-
Client
public Client()
-
-
Method Details
-
isLoopbackOptimizationEnabled
public boolean isLoopbackOptimizationEnabled()Whether optimizing microservice interlink requests should be optimized with a direct method call when the targeted service is colocated in the same flexpackage. This saves on expenses related to socket creation, json serialization/deserialization, and SSL encryption and handshake. False by default. Note, for the optimization to occur, there must be support in place for the call via a validExternalClientinstance. Coverage may not be available for every external connection use case. Note, generally,ExternalClientinstances also contain their own enabling property that is evaluated in addition to this property. -
setLoopbackOptimizationEnabled
public void setLoopbackOptimizationEnabled(boolean loopbackOptimizationEnabled) Whether optimizing microservice interlink requests should be optimized with a direct method call when the targeted service is colocated in the same flexpackage. This saves on expenses related to socket creation, json serialization/deserialization, and SSL encryption and handshake. False by default. Note, for the optimization to occur, there must be support in place for the call via a validExternalClientinstance. Coverage may not be available for every external connection use case. Note, generally,ExternalClientinstances also contain their own enabling property that is evaluated in addition to this property. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-