public class AtomicHashMapDelta extends Object implements Delta
Modifier and Type | Class and Description |
---|---|
static class |
AtomicHashMapDelta.Externalizer |
Constructor and Description |
---|
AtomicHashMapDelta() |
Modifier and Type | Method and Description |
---|---|
void |
addOperation(Operation<?,?> o) |
int |
getChangeLogSize() |
Collection<Object> |
getKeys() |
boolean |
hasClearOperation() |
DeltaAware |
merge(DeltaAware d)
Merge the current Delta instance with a given
DeltaAware instance, and return a coherent and complete
DeltaAware instance. |
String |
toString() |
public DeltaAware merge(DeltaAware d)
Delta
DeltaAware
instance, and return a coherent and complete
DeltaAware
instance. Implementations should be able to deal with null values passed in, or values of a
different type from the expected DeltaAware instance. Usually the approach would be to ignore what is passed in,
create a new instance of the DeltaAware implementation that the current Delta implementation is written for, apply
changes and pass it back.public void addOperation(Operation<?,?> o)
public Collection<Object> getKeys()
public boolean hasClearOperation()
public int getChangeLogSize()
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.