private void checkState() {
        if (this.closed) {
            throw new IllegalStateException("Writer was closed");
        }
    }
Snapshot writer to write snapshot into local file system.

@author boyan (boyan@alibaba-inc.com)

2018-Apr-08 11:51:43 AM
jraft-core/src/main/java/com/alipay/sofa/jraft/storage/snapshot/local/LocalSnapshotWriter.java