Package com.hazelcast.concurrent.lock

Examples of com.hazelcast.concurrent.lock.InternalLockNamespace


    }

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


    }

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

    }

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

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

        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

    }

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

    }

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

    @Override
    public void read(PortableReader reader) throws IOException {
        threadId = reader.readLong("tid");
        conditionId = reader.readUTF("cid");
        ObjectDataInput in = reader.getRawDataInput();
        namespace = new InternalLockNamespace();
        namespace.readData(in);
        key = new Data();
        key.readData(in);
    }
View Full Code Here

    public ClientConditionProxy(String instanceName, ClientLockProxy clientLockProxy, String name, ClientContext ctx) {
        super(instanceName, 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

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

TOP

Related Classes of com.hazelcast.concurrent.lock.InternalLockNamespace

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.