Class ScopedRegistry<K,V>

Type Parameters:
K - the logical key type
V - the value type
All Implemented Interfaces:
Map<K,V>, IContainer<Map.Entry<K,V>>, INotifier, INotifier.INotifier2, IDeactivateable, ILifecycle, ILifecycle.DeferrableActivation, IRegistry<K,V>

public class ScopedRegistry<K,V> extends Registry<K,V>
A logical registry whose entries share one physical backing map with other registries created by the same ScopedRegistry.Store. Entries belonging to different registries are isolated by scope identity.

Operations that inspect all entries of a scoped registry, such as Registry.size(), may require scanning the entire shared backing map.

Since:
3.31
Author:
Eike Stepper