Class TenantCounter


  • public class TenantCounter
    extends Object
    Counter class optimized for database tenants counting. No internal static counter is maintained and a direct database query is always performed.
    Since:
    6.9
    Author:
    Marco Meschieri - LogicalDOC
    • Constructor Detail

      • TenantCounter

        public TenantCounter()
    • Method Detail

      • validateTenantCount

        public static void validateTenantCount()
                                        throws Exception
        Throws:
        Exception
      • getMaxTenants

        public static int getMaxTenants()
      • getCount

        public static int getCount()