Package 

Class LockDocument


  • 
    public final class LockDocument
    
                        

    Make sure you create a TTL index in your Locked.storeId collection on expireAt field to enable lock expiration. You might also want to index the token field for better search performance.