All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tangosol.util.processor.AbstractEvolvableProcessor Maven / Gradle / Ivy

There is a newer version: 24.09
Show newest version
/*
 * Copyright (c) 2000, 2020, Oracle and/or its affiliates.
 *
 * Licensed under the Universal Permissive License v 1.0 as shown at
 * http://oss.oracle.com/licenses/upl.
 */
package com.tangosol.util.processor;

import com.tangosol.io.AbstractEvolvable;

import com.tangosol.io.pof.EvolvablePortableObject;

import com.tangosol.util.InvocableMap;
import com.tangosol.util.InvocableMap.Entry;

import java.util.Map;
import java.util.Set;

/**
 * An Evolvable AbstractProcessor that is a partial EntryProcessor implementation that provides
 * the default implementation of the {@link #processAll} method.
 *
 * @param   the type of the Map entry key
 * @param   the type of the Map entry value
 * @param   the type of value returned by the EntryProcessor
 *
 * @author jf 2019.11.21
 * @since Coherence 14.1.1
 */
public abstract class AbstractEvolvableProcessor
    extends AbstractEvolvable
    implements InvocableMap.EntryProcessor, EvolvablePortableObject
    {
    // ----- EntryProcessor interface ---------------------------------------

    @Override
    public R process(Entry entry)
        {
        return null;
        }

    /**
     * {@inheritDoc}
     */
    public Map processAll(Set> setEntries)
        {
        return InvocableMap.EntryProcessor.super.processAll(setEntries);
        }
    }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy