| 216 | } |
| 217 | |
| 218 | public interface WALReplay{ |
| 219 | |
| 220 | void beforeReplayStart(); |
| 221 | void afterReplayFinished(); |
| 222 | |
| 223 | void writeLong(long offset, long value); |
| 224 | |
| 225 | void writeRecord(long recid, long walId, @NotNull Volume vol, long volOffset, int length); |
| 226 | |
| 227 | void writeByteArray(long offset, long walId, @NotNull Volume vol, long volOffset, int length); |
| 228 | |
| 229 | void commit(); |
| 230 | |
| 231 | void rollback(); |
| 232 | |
| 233 | |
| 234 | void writeTombstone(long recid); |
| 235 | |
| 236 | void writePreallocate(long recid); |
| 237 | } |
| 238 | |
| 239 | /** does nothing */ |
| 240 | public static final WALReplay NOREPLAY = new WALReplay() { |
no outgoing calls
no test coverage detected
searching dependent graphs…