org.infinispan.atomic.impl.AtomicHashMapDelta Maven / Gradle / Ivy
package org.infinispan.atomic.impl;
import org.infinispan.atomic.Delta;
import org.infinispan.atomic.DeltaAware;
import org.infinispan.commons.marshall.AbstractExternalizer;
import org.infinispan.commons.util.Util;
import org.infinispan.marshall.core.Ids;
import org.infinispan.util.logging.Log;
import org.infinispan.util.logging.LogFactory;
import java.io.IOException;
import java.io.ObjectInput;
import java.io.ObjectOutput;
import java.util.Collection;
import java.util.LinkedList;
import java.util.List;
import java.util.Set;
/**
* Changes that have occurred on an AtomicHashMap
*
* @author Manik Surtani (manik AT jboss DOT org)
* @since 4.0
*/
public class AtomicHashMapDelta implements Delta {
private static final Log log = LogFactory.getLog(AtomicHashMapDelta.class);
private static final boolean trace = log.isTraceEnabled();
private List> changeLog;
private boolean hasClearOperation;
private final AtomicHashMap.ProxyMode proxyMode;
public AtomicHashMapDelta(AtomicHashMap.ProxyMode proxyMode) {
this.proxyMode = proxyMode;
}
@Override
public DeltaAware merge(DeltaAware d) {
AtomicHashMap
© 2015 - 2025 Weber Informatics LLC | Privacy Policy