public interface DeltaAware
Delta
s.
Delta
implementation, since Delta.merge(DeltaAware)
would need to know how to recreate this instance of DeltaAware if needed.
Delta
instance, so this too is a consideration
for implementations.
Delta
Modifier and Type | Method and Description |
---|---|
void |
commit()
Indicate that all deltas collected to date has been extracted (via a call to
delta() ) and can be
discarded. |
Delta |
delta()
Extracts changes made to implementations, in an efficient format that can easily and cheaply be serialized and
deserialized.
|
Delta delta()
void commit()
delta()
) and can be
discarded. Often used as an optimization if the delta isn't really needed, but the cleaning and resetting of
internal state is desirable.Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.