Package com.hazelcast.concurrent.lock.operations

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


        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

    }

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

    }

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

        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

                    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

Related Classes of com.hazelcast.concurrent.lock.operations.GetLockCountOperation

Copyright © 2018 www.massapicom. 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.