@Override
    public RFuture<Boolean> tryLockAsync(long threadId) {
        RFuture<Long> longRFuture = tryAcquireAsync(-1, null, threadId);
        CompletionStage<Boolean> f = longRFuture.thenApply(res -> res == null);
        return new CompletableFutureWrapper<>(f);
    }
@Test
    public void testTryLockAsyncSucceed() throws InterruptedException, ExecutionException {
        RLock lock = redisson.getSpinLock("lock");

        Boolean result = lock.tryLockAsync().get();
        assertThat(result).isTrue();
        lock.unlock();
    }