class StoreCopyCheckPointMutex {

    public Resource checkPoint()
    {
        Lock writeLock = lock.writeLock();
        writeLock.lock();
        return writeLock::unlock;
    }

    public  StoreCopyCheckPointMutex();
    public  StoreCopyCheckPointMutex( ReadWriteLock lock );

}