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

Alachisoft.NCache.Common.Extensibility.Client.RPC.Impl.CollectionConsolidator Maven / Gradle / Ivy

package Alachisoft.NCache.Common.Extensibility.Client.RPC.Impl;


public class CollectionConsolidator extends MultiPartitionResponseConsolidator {
    private java.util.Collection responseCollection = new java.util.ArrayList();

    @Override
    public Object GetFinalResponse() {
        if (_responses.size() > 0) {
            for (Object response : _responses.values()) {
                for (Object item : (java.util.Collection) response) {
                    responseCollection.add((TargetType) item);
                }
            }
        }

        return responseCollection;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy