close method

Future close()

Closes all internal write-locks, and closes the cache.

Implementation

Future close() async {
  _writeLocks.forEach((_, p) => p.close());
}