Examples of InternalLockNamespace


Examples of com.hazelcast.concurrent.lock.InternalLockNamespace

        name = reader.readUTF("n");
        timeout = reader.readLong("tout");
        threadId = reader.readLong("tid");
        conditionId = reader.readUTF("cid");
        ObjectDataInput in = reader.getRawDataInput();
        namespace = new InternalLockNamespace();
        namespace.readData(in);
    }
View Full Code Here

Examples of com.hazelcast.concurrent.lock.InternalLockNamespace

    }

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

Examples of com.hazelcast.concurrent.lock.InternalLockNamespace

    }

    @Override
    protected InternalLockNamespace getNamespace() {
        String name = getName();
        return new InternalLockNamespace(name);
    }
View Full Code Here

Examples of com.hazelcast.concurrent.lock.InternalLockNamespace

    }

    @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.InternalLockNamespace

    }

    @Override
    protected InternalLockNamespace getNamespace() {
        String name = getName();
        return new InternalLockNamespace(name);
    }
View Full Code Here

Examples of com.hazelcast.concurrent.lock.InternalLockNamespace

        Node node = getNode(hz);
        LockServiceImpl lockService = node.nodeEngine.getService(LockServiceImpl.SERVICE_NAME);

        Partition partition = instances[0].getPartitionService().getPartition(partitionKey);
        LockStore lockStore = lockService.getLockStore(partition.getPartitionId(), new InternalLockNamespace(lock.getName()));
        assertTrue(lockStore.isLocked(node.getSerializationService().toData(lock.getName())));
    }
View Full Code Here

Examples of com.hazelcast.concurrent.lock.InternalLockNamespace

    public ClientConditionProxy(ClientLockProxy clientLockProxy, String name, ClientContext ctx) {
        super(LockService.SERVICE_NAME, clientLockProxy.getName());
        this.setContext(ctx);
        this.lockProxy = clientLockProxy;
        this.namespace = new InternalLockNamespace(lockProxy.getName());
        this.conditionId = name;
        this.key = toData(lockProxy.getName());
    }
View Full Code Here

Examples of com.hazelcast.concurrent.lock.InternalLockNamespace

    }

    @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.InternalLockNamespace

    }

    @Override
    protected InternalLockNamespace getNamespace() {
        String name = getName();
        return new InternalLockNamespace(name);
    }
View Full Code Here

Examples of com.hazelcast.concurrent.lock.InternalLockNamespace

    }

    @Override
    protected InternalLockNamespace getNamespace() {
        String name = getName();
        return new InternalLockNamespace(name);
    }
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.