Examples of GetLockCountOperation


Examples of com.hazelcast.concurrent.lock.operations.GetLockCountOperation

    }

    @Override
    protected Operation prepareOperation() {
        String name = (String) getClientEngine().toObject(key);
        return new GetLockCountOperation(new InternalLockNamespace(name), key);
    }
View Full Code Here

Examples of com.hazelcast.concurrent.lock.operations.GetLockCountOperation

        InternalCompletableFuture<Boolean> f = invoke(nodeEngine, operation, key);
        return f.getSafely();
    }

    public int getLockCount(NodeEngine nodeEngine, Data key) {
        Operation operation = new GetLockCountOperation(namespace, key);
        InternalCompletableFuture<Number> f = invoke(nodeEngine, operation, key);
        return f.getSafely().intValue();
    }
View Full Code Here

Examples of com.hazelcast.concurrent.lock.operations.GetLockCountOperation

    }

    @Override
    protected Operation prepareOperation() {
        String name = serializationService.toObject(key);
        return new GetLockCountOperation(new InternalLockNamespace(name), key);
    }
View Full Code Here

Examples of com.hazelcast.concurrent.lock.operations.GetLockCountOperation

    }

    @Override
    protected Operation prepareOperation() {
        String name = serializationService.toObject(key);
        return new GetLockCountOperation(new InternalLockNamespace(name), key);
    }
View Full Code Here

Examples of com.hazelcast.concurrent.lock.operations.GetLockCountOperation

        InternalCompletableFuture<Boolean> f = invoke(nodeEngine, operation, key);
        return f.getSafely();
    }

    public int getLockCount(NodeEngine nodeEngine, Data key) {
        Operation operation = new GetLockCountOperation(namespace, key);
        InternalCompletableFuture<Number> f = invoke(nodeEngine, operation, key);
        return f.getSafely().intValue();
    }
View Full Code Here

Examples of com.hazelcast.concurrent.lock.operations.GetLockCountOperation

                    case BEFORE_AWAIT_BACKUP:
                        return new BeforeAwaitBackupOperation();
                    case BEFORE_AWAIT:
                        return new BeforeAwaitOperation();
                    case GET_LOCK_COUNT:
                        return new GetLockCountOperation();
                    case GET_REMAINING_LEASETIME:
                        return new GetRemainingLeaseTimeOperation();
                    case IS_LOCKED:
                        return new IsLockedOperation();
                    case LOCK:
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.