Class ContextCacheSize


  • public class ContextCacheSize
    extends Object
    Class to wrap up the calculation of the ContextCache size. As this is based on a system property it can change through out the lifetime of the RadiusServer. Encapsulating this in a class allows optimization of how the size is determined without affecting the OpenAMAuthHandler.
    • Constructor Detail

      • ContextCacheSize

        public ContextCacheSize()
    • Method Detail

      • getDesiredCacheSize

        public int getDesiredCacheSize()
        Returns the desired CONTEXT_CACHE size for the OpenAMAuthHandler.
        Returns:
        the desired CONTEXT_CACHE size for the OpenAMAuthHandler.