Abstractions for pluggable queue shard lock manager.