Class CachedRandomPropertySource

java.lang.Object
org.springframework.core.env.PropertySource<org.springframework.core.env.PropertySource>
org.springframework.cloud.util.random.CachedRandomPropertySource

public class CachedRandomPropertySource extends org.springframework.core.env.PropertySource<org.springframework.core.env.PropertySource>
Author:
Ryan Baxter
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.springframework.core.env.PropertySource

    org.springframework.core.env.PropertySource.StubPropertySource
  • Field Summary

    Fields inherited from class org.springframework.core.env.PropertySource

    logger, name, source
  • Constructor Summary

    Constructors
    Constructor
    Description
    CachedRandomPropertySource(org.springframework.core.env.PropertySource randomValuePropertySource)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
     
    @Nullable Object
     

    Methods inherited from class org.springframework.core.env.PropertySource

    containsProperty, equals, getName, getSource, hashCode, named, toString

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • CachedRandomPropertySource

      public CachedRandomPropertySource(org.springframework.core.env.PropertySource randomValuePropertySource)
  • Method Details

    • getProperty

      public @Nullable Object getProperty(String name)
      Specified by:
      getProperty in class org.springframework.core.env.PropertySource<org.springframework.core.env.PropertySource>
    • clearCache

      public static void clearCache()