Package com.logicaldoc.enterprise
Class TenantCounter
- java.lang.Object
-
- com.logicaldoc.enterprise.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 Summary
Constructors Constructor Description TenantCounter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
getCount()
static int
getMaxTenants()
static void
validateTenantCount()
-