singleTenant

public static TenantIndex singleTenant()

Obtains a TenantIndex to be used in single-tenant context.

This rudimentary implementation always returns pre-defined constant TenantId value, which a single-tenant application does not need to use.