@Override
  public WALEnvironment createEnvironment(final WALCoprocessor instance, final int priority,
    final int seq, final Configuration conf) {
    return new WALEnvironment(instance, priority, seq, conf, this.wal);
  }
Constructor
@param log  the write ahead log
@param conf the configuration
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/WALCoprocessorHost.java