Class MapViewBuilder<K,V>

java.lang.Object
com.tangosol.net.MapViewBuilder<K,V>
Type Parameters:
K - the type of the map entry keys
V - the type of the entry values in the backing map that is used as the source for this view
Direct Known Subclasses:
ViewBuilder

public class MapViewBuilder<K,V> extends Object
The ViewBuilder provides a means to build() a map view using a fluent pattern / style.
Since:
20.06
Author:
Aleks Seovic 2020.06.06
  • Field Details

    • f_supplierNamedCache

      protected final Supplier<NamedCache<K,V>> f_supplierNamedCache
      The Supplier returning a NamedCache from which the view will be created.
    • m_filter

      protected Filter<?> m_filter
      The Filter that will be used to define the entries maintained in this view.
    • m_listener

      protected MapListener<? super K,? super V> m_listener
      The MapListener that will receive all the events from the view, including those corresponding to its initial population.
    • m_mapper

      protected ValueExtractor<? super V,?> m_mapper
      The ValueExtractor that will be used to transform values retrieved from the underlying map before storing them locally; if specified, this view will become read-only.
    • m_fCacheValues

      protected boolean m_fCacheValues
      Flag controlling if the view will store both keys and values or only keys. true by default.
    • m_loader

      protected ClassLoader m_loader
      The View's ClassLoader.
  • Constructor Details

  • Method Details