Rewrap some lines.

This commit is contained in:
akwizgran
2021-11-04 15:49:44 +00:00
parent f4d885b647
commit 3a13adcffb
13 changed files with 59 additions and 51 deletions

View File

@@ -21,8 +21,9 @@ public interface CleanupHook {
* <p>
* The callee is not required to delete the messages, but the hook won't be
* called again for these messages unless another cleanup timer is set (see
* {@link DatabaseComponent#setCleanupTimerDuration(Transaction, MessageId, long)}
* and {@link DatabaseComponent#startCleanupTimer(Transaction, MessageId)}).
* {@link DatabaseComponent#setCleanupTimerDuration(Transaction, MessageId,
* long)} and {@link DatabaseComponent#startCleanupTimer(Transaction,
* MessageId)}).
*/
void deleteMessages(Transaction txn, GroupId g,
Collection<MessageId> messageIds) throws DbException;

View File

@@ -18,8 +18,8 @@ import org.briarproject.bramble.api.sync.MessageId;
* {@link CleanupTimerStartedEvent CleanupTimerStartedEvents} broadcast by the
* {@link DatabaseComponent}.
* <p>
* See {@link DatabaseComponent#setCleanupTimerDuration(Transaction, MessageId, long)},
* {@link DatabaseComponent#startCleanupTimer(Transaction, MessageId)},
* See {@link DatabaseComponent#setCleanupTimerDuration(Transaction, MessageId,
* long)}, {@link DatabaseComponent#startCleanupTimer(Transaction, MessageId)},
* {@link DatabaseComponent#stopCleanupTimer(Transaction, MessageId)}.
*/
@NotNullByDefault

View File

@@ -35,8 +35,8 @@ public interface TaskScheduler {
/**
* Cancels the task if it has not already started running. If the task
* is {@link #scheduleWithFixedDelay(Runnable, Executor, long, long, TimeUnit) periodic},
* all future executions of the task are cancelled.
* is {@link #scheduleWithFixedDelay(Runnable, Executor, long, long,
* TimeUnit) periodic}, all future executions of the task are cancelled.
*/
void cancel();
}