Class AbstractEntryBundler

  • Direct Known Subclasses:
    BundlingNamedCache.PutBundler

    public abstract class AbstractEntryBundler
    extends AbstractBundler
    An abstract entry-based bundler serves as a base for NamedCache.put() and CacheStore.store() operation bundling.
    Since:
    Coherence 3.3
    Author:
    gg 2007.01.28
    • Constructor Detail

      • AbstractEntryBundler

        public AbstractEntryBundler()
    • Method Detail

      • process

        protected void process​(Object oKey,
                               Object oValue)
        Process the specified entry in a most optimal way according to the bundle settings.
        Parameters:
        oKey - the entry key
        oValue - the entry value
      • processAll

        protected void processAll​(Map map)
        Process a colllection of entries in a most optimal way according to the bundle settings.
        Parameters:
        map - the collection of entries to process
      • bundle

        protected abstract void bundle​(Map mapEntries)
        The bundle operation to be performed against a collected map of entries by the concrete AbstractEntryBundler implementations. If an exception occurs during bundle operation, it will be repeated using singleton maps.
        Parameters:
        mapEntries - a map to perform the bundled operation for