fix javadoc

This commit is contained in:
Jörg Prante 2024-01-05 21:05:41 +01:00
parent 2451ef06f5
commit 120a9e915d

View file

@ -4,8 +4,7 @@ package org.xbib.event.wal;
* <p> * <p>
* Provides a callback mechanism by which applicable listeners can be notified * Provides a callback mechanism by which applicable listeners can be notified
* when a WriteAheadRepository is synched (via the * when a WriteAheadRepository is synched (via the
* {@link WriteAheadRepository#checkpoint()} * {@link WriteAheadRepository#checkpoint()} method) or one of its partitions is
* method) or one of its partitions is
* synched via * synched via
* {@link WriteAheadRepository#update(java.util.Collection, boolean)} with a * {@link WriteAheadRepository#update(java.util.Collection, boolean)} with a
* value of <code>true</code> for the second argument. * value of <code>true</code> for the second argument.
@ -45,7 +44,7 @@ public interface SyncListener {
*/ */
void onGlobalSync(); void onGlobalSync();
public static final SyncListener NOP_SYNC_LISTENER = new SyncListener() { SyncListener NOP_SYNC_LISTENER = new SyncListener() {
@Override @Override
public void onSync(int partitionIndex) { public void onSync(int partitionIndex) {
} }