Class MultitenantKey<T>
java.lang.Object
org.hibernate.reactive.context.impl.MultitenantKey<T>
- Type Parameters:
T- the type of object being stored in the Context.
- All Implemented Interfaces:
Context.Key<T>
Implementation of
Context.Key suitable for use with
multi-tenancy. In a multi-tenant environment, anything we
store in the Vert.x context is keyed not only by its type,
but also by the tenant id.
An instance of this class wraps a BaseKey of the same
type, allowing instance reuse for efficiency.
-
Constructor Summary
Constructors -
Method Summary