public class FileListCacheValueDelta extends Object implements Delta
Delta
implementation for FileListCacheValue
Modifier and Type | Class and Description |
---|---|
static class |
FileListCacheValueDelta.Externalizer |
Modifier and Type | Method and Description |
---|---|
DeltaAware |
merge(DeltaAware deltaAware)
Merge the current Delta instance with a given
DeltaAware instance, and return a coherent and complete
DeltaAware instance. |
public DeltaAware merge(DeltaAware deltaAware)
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.Copyright © 2021 JBoss, a division of Red Hat. All rights reserved.