Github user ahgittin commented on a diff in the pull request:
https://github.com/apache/incubator-brooklyn/pull/617#discussion_r30510751
--- Diff: api/src/main/java/brooklyn/mementos/BrooklynMementoPersister.java
---
@@ -97,10 +97,13 @@
/** @deprecated since 0.7.0, use {@link
#checkpoint(BrooklynMementoRawData, PersistenceExceptionHandler)}
* and javadoc on implementations of that */ @Deprecated // pretty
sure this is not used outwith deprecated code
void checkpoint(BrooklynMemento memento, PersistenceExceptionHandler
exceptionHandler);
-
- void checkpoint(BrooklynMementoRawData newMemento,
PersistenceExceptionHandler exceptionHandler);
+ /** applies a full checkpoint (write) of all state */
+ void checkpoint(BrooklynMementoRawData newMemento,
PersistenceExceptionHandler exceptionHandler);
+ /** applies a partial write of state delta */
void delta(Delta delta, PersistenceExceptionHandler exceptionHandler);
+ /** inserts an additional delta to be written on the next delta
request */
+ void queueDelta(Delta delta);
--- End diff --
+1 `@Beta`. I couldn't see a way to add this batch-ahead-of-time
functionality to the `PDCL`. Agree it's now suboptimal having two batches.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---