@JsonIgnore @Override public SortedLockCollection<LockDescriptor> getLockDescriptors() { return getLocks(); }
@JsonIgnore @Override public SortedLockCollection<LockDescriptor> getLockDescriptors() { return getLocks(); }
Assert.assertNotNull(grant); Assert.assertNull(grant.getClient()); Assert.assertEquals(request.getLockDescriptors(), grant.getLocks()); Thread.sleep(51); Assert.assertTrue(grant.getExpirationDateMs() - System.currentTimeMillis() < 450);