Package de.hybris.platform.governor
Class ResourceGovernorProvider
java.lang.Object
de.hybris.platform.governor.ResourceGovernorProvider
A singleton responsible for providing a
ResourceGovernor implementation. It is used to bring spring world to
other parts of our beloved stack.
PLEASE NOTE: This API is in the beta stage, it can be changed or even removed in a future release. Compatibility with
other features is not guaranteed.-
Method Summary
Modifier and TypeMethodDescriptionstatic ResourceGovernorProviderGet the singleton instance PLEASE NOTE: This API is in the beta stage, it can be changed or even removed in a future release.Provides configuredResourceGovernor's implementation PLEASE NOTE: This API is in the beta stage, it can be changed or even removed in a future release.
-
Method Details
-
getInstance
Get the singleton instance PLEASE NOTE: This API is in the beta stage, it can be changed or even removed in a future release. Compatibility with other features is not guaranteed.- Returns:
ResourceGovernorProviderinstance
-
getResourceGovernor
Provides configuredResourceGovernor's implementation PLEASE NOTE: This API is in the beta stage, it can be changed or even removed in a future release. Compatibility with other features is not guaranteed.- Returns:
ResourceGovernor's implementation
-