!per #15427 Deprecate deleteMessage and writeConfirmations in journal plugin api

(cherry picked from commit 4c271b6b092989ebde26fcd135e6ad56f797a763)
This commit is contained in:
Patrik Nordwall 2014-06-27 08:46:07 +02:00
parent 07e67b90ea
commit 33027999da
4 changed files with 16 additions and 4 deletions

View file

@ -18,15 +18,19 @@ interface SyncWritePlugin {
/**
* Java API, Plugin API: synchronously writes a batch of delivery confirmations to
* the journal.
*
* @deprecated doWriteConfirmations will be removed, since Channels will be removed (since 2.3.4)
*/
void doWriteConfirmations(Iterable<PersistentConfirmation> confirmations);
@Deprecated void doWriteConfirmations(Iterable<PersistentConfirmation> confirmations);
/**
* Java API, Plugin API: synchronously deletes messages identified by `messageIds`
* from the journal. If `permanent` is set to `false`, the persistent messages are
* marked as deleted, otherwise they are permanently deleted.
*
* @deprecated doDeleteMessages will be removed (since 2.3.4)
*/
void doDeleteMessages(Iterable<PersistenceId> messageIds, boolean permanent);
@Deprecated void doDeleteMessages(Iterable<PersistenceId> messageIds, boolean permanent);
/**
* Java API, Plugin API: synchronously deletes all persistent messages up to