}
private long getCurrentSequenceNumber() {
try {
return new ServerStateReader().getServerState(dataDirectory.toURI().toURL()).getSequenceNumber();
} catch (MalformedURLException e) {
throw new OsmosisRuntimeException("Unable to get the current sequence number", e);
}
}