Examples of RemoveOperation


Examples of com.hazelcast.multimap.operations.RemoveOperation

        this.value = value;
        this.threadId = threadId;
    }

    protected Operation prepareOperation() {
        return new RemoveOperation(name, key, threadId, value);
    }
View Full Code Here

Examples of com.hazelcast.multimap.operations.RemoveOperation

        }
    }

    protected Boolean removeInternal(Data dataKey, Data dataValue) {
        try {
            RemoveOperation operation = new RemoveOperation(name, dataKey, getThreadId(), dataValue);
            return invoke(operation, dataKey);
        } catch (Throwable throwable) {
            throw ExceptionUtil.rethrow(throwable);
        }
    }
View Full Code Here

Examples of com.hazelcast.queue.RemoveOperation

        super(name);
        this.data = data;
    }

    protected Operation prepareOperation() {
        return new RemoveOperation(name, data);
    }
View Full Code Here

Examples of com.hazelcast.queue.RemoveOperation

        this.data = data;
    }

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

Examples of com.hazelcast.queue.RemoveOperation

        }
    }

    boolean removeInternal(Data data) {
        throwExceptionIfNull(data);
        RemoveOperation operation = new RemoveOperation(name, data);
        return (Boolean) invokeAndGet(operation);
    }
View Full Code Here

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

        this.data = data;
    }

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

Examples of org.datanucleus.sco.queued.RemoveOperation

            if (SCOUtils.useQueuedUpdate(queued, ownerSM))
            {
                backingSuccess = contained;
                if (backingSuccess)
                {
                    addQueuedOperation(new RemoveOperation(element, allowCascadeDelete));
                }
            }
            else
            {
                try
View Full Code Here

Examples of org.infinispan.client.hotrod.impl.operations.RemoveOperation

   @Override
   @SuppressWarnings("unchecked")
   public V remove(Object key) {
      assertRemoteCacheManagerIsStarted();
      RemoveOperation removeOperation = operationsFactory.newRemoveOperation(obj2bytes(key, true));
      byte[] existingValue = removeOperation.execute();
      // TODO: It sucks that you need the prev value to see if it works...
      // We need to find a better API for RemoteCache...
      return (V) bytes2obj(existingValue);
   }
View Full Code Here

Examples of org.infinispan.client.hotrod.impl.operations.RemoveOperation

   }

   @Override
   public V remove(Object key) {
      assertRemoteCacheManagerIsStarted();
      RemoveOperation removeOperation = operationsFactory.newRemoveOperation(obj2bytes(key, true));
      byte[] existingValue = (byte[]) removeOperation.execute();
      return (V) bytes2obj(existingValue);
   }
View Full Code Here

Examples of org.infinispan.client.hotrod.impl.operations.RemoveOperation

   @Override
   @SuppressWarnings("unchecked")
   public V remove(Object key) {
      assertRemoteCacheManagerIsStarted();
      RemoveOperation removeOperation = operationsFactory.newRemoveOperation(obj2bytes(key, true));
      byte[] existingValue = (byte[]) removeOperation.execute();
      // TODO: It sucks that you need the prev value to see if it works...
      // We need to find a better API for RemoteCache...
      return (V) bytes2obj(existingValue);
   }
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.