mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-14 03:39:05 +01:00
Rewrap some lines.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user