Examples of ClearOperation


Examples of com.google.dart.engine.internal.index.operation.ClearOperation

    this.processor = processor;
  }

  @Override
  public void clear() {
    queue.enqueue(new ClearOperation(store));
  }
View Full Code Here

Examples of com.hazelcast.map.impl.operation.ClearOperation

    public void clearInternal() {
        final String mapName = name;
        final NodeEngine nodeEngine = getNodeEngine();
        try {
            ClearOperation clearOperation = new ClearOperation(mapName);
            clearOperation.setServiceName(SERVICE_NAME);
            final Map<Integer, Object> resultMap = nodeEngine.getOperationService()
                    .invokeOnAllPartitions(SERVICE_NAME, new BinaryOperationFactory(clearOperation, nodeEngine));

            int numberOfAffectedEntries = 0;
            for (Object o : resultMap.values()) {
View Full Code Here

Examples of com.hazelcast.map.operation.ClearOperation

    public void clearInternal() {
        final String mapName = name;
        final NodeEngine nodeEngine = getNodeEngine();
        try {
            ClearOperation clearOperation = new ClearOperation(mapName);
            clearOperation.setServiceName(SERVICE_NAME);
            final Map<Integer, Object> resultMap = nodeEngine.getOperationService()
                    .invokeOnAllPartitions(SERVICE_NAME, new BinaryOperationFactory(clearOperation, nodeEngine));

            int numberOfAffectedEntries = 0;
            for (Object o : resultMap.values()) {
View Full Code Here

Examples of com.hazelcast.multimap.impl.operations.ClearOperation

                return new ClearBackupOperation();
            }
        };
        constructors[CLEAR] = new ConstructorFunction<Integer, IdentifiedDataSerializable>() {
            public IdentifiedDataSerializable createNew(Integer arg) {
                return new ClearOperation();
            }
        };
        constructors[CONTAINS_ENTRY] = new ConstructorFunction<Integer, IdentifiedDataSerializable>() {
            public IdentifiedDataSerializable createNew(Integer arg) {
                return new ContainsEntryOperation();
View Full Code Here

Examples of com.hazelcast.multimap.operations.ClearOperation

                return new ClearBackupOperation();
            }
        };
        constructors[CLEAR] = new ConstructorFunction<Integer, IdentifiedDataSerializable>() {
            public IdentifiedDataSerializable createNew(Integer arg) {
                return new ClearOperation();
            }
        };
        constructors[CONTAINS_ENTRY] = new ConstructorFunction<Integer, IdentifiedDataSerializable>() {
            public IdentifiedDataSerializable createNew(Integer arg) {
                return new ContainsEntryOperation();
View Full Code Here

Examples of com.hazelcast.queue.ClearOperation

    public ClearRequest(String name) {
        super(name);
    }

    protected Operation prepareOperation() {
        return new ClearOperation(name);
    }
View Full Code Here

Examples of com.hazelcast.queue.ClearOperation

        super(name);
    }

    @Override
    protected Operation prepareOperation() {
        return new ClearOperation(name);
    }
View Full Code Here

Examples of com.hazelcast.queue.ClearOperation

        SizeOperation operation = new SizeOperation(name);
        return (Integer) invokeAndGet(operation);
    }

    public void clear() {
        ClearOperation operation = new ClearOperation(name);
        invokeAndGet(operation);
    }
View Full Code Here

Examples of com.hazelcast.queue.impl.operations.ClearOperation

        super(name);
    }

    @Override
    protected Operation prepareOperation() {
        return new ClearOperation(name);
    }
View Full Code Here

Examples of com.hazelcast.queue.impl.operations.ClearOperation

        RemainingCapacityOperation operation = new RemainingCapacityOperation(name);
        return (Integer) invokeAndGet(operation);
    }

    public void clear() {
        ClearOperation operation = new ClearOperation(name);
        invokeAndGet(operation);
    }
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.