Class ResourceGovernorProvider


  • @Beta
    public final class ResourceGovernorProvider
    extends java.lang.Object
    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 Detail

      • getInstance

        @Beta
        public static ResourceGovernorProvider 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:
        ResourceGovernorProvider instance
      • getResourceGovernor

        @Beta
        public ResourceGovernor getResourceGovernor()
        Provides configured ResourceGovernor'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