unCache

protected final boolean unCache(TenantId id)

Removes the passed value from the in-memory cache of known tenant IDs.

Implementations should call this method for removing the cached value for a tenant for which the record was removed from the repository.

Return

true if the value was cached before and removed, false otherwise

Parameters

id

the ID to remove from the cache