!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

@ -96,6 +96,7 @@ trait AsyncWriteJournal extends Actor with WriteJournalBase with AsyncRecovery {
/**
* Plugin API: asynchronously writes a batch of delivery confirmations to the journal.
*/
@deprecated("writeConfirmations will be removed, since Channels will be removed.", since = "2.3.4")
def asyncWriteConfirmations(confirmations: immutable.Seq[PersistentConfirmation]): Future[Unit]
/**
@ -103,6 +104,7 @@ trait AsyncWriteJournal extends Actor with WriteJournalBase with AsyncRecovery {
* journal. If `permanent` is set to `false`, the persistent messages are marked as
* deleted, otherwise they are permanently deleted.
*/
@deprecated("asyncDeleteMessages will be removed.", since = "2.3.4")
def asyncDeleteMessages(messageIds: immutable.Seq[PersistenceId], permanent: Boolean): Future[Unit]
/**