@Override
    public Map<byte[], List<byte[]>> rollWriter() {
      if (!listeners.isEmpty()) {
        for (WALActionsListener listener : listeners) {
          listener.logRollRequested(WALActionsListener.RollRequestReason.ERROR);
        }
        for (WALActionsListener listener : listeners) {
          try {
            listener.preLogRoll(path, path);
          } catch (IOException exception) {
            LOG.debug("Ignoring exception from listener.", exception);
          }
        }
        for (WALActionsListener listener : listeners) {
          try {
            listener.postLogRoll(path, path);
          } catch (IOException exception) {
            LOG.debug("Ignoring exception from listener.", exception);
          }
        }
      }
      return null;
    }
No-op implementation of {@link WALProvider} used when the WAL is disabled. Should only be used
when severe data loss is acceptable.
hbase-server/src/main/java/org/apache/hadoop/hbase/wal/DisabledWALProvider.java