org.infinispan.cli.interpreter.statement
Class ReplaceStatement
java.lang.Object
org.infinispan.cli.interpreter.statement.ReplaceStatement
- All Implemented Interfaces:
- Statement
public class ReplaceStatement
- extends Object
- implements Statement
Replaces an existing entry in the cache
- Since:
- 5.2
- Author:
- Tristan Tarrant
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReplaceStatement
public ReplaceStatement(List<Option> options,
KeyData key,
Object newValue,
ExpirationData exp)
ReplaceStatement
public ReplaceStatement(List<Option> options,
KeyData key,
Object oldValue,
Object newValue,
ExpirationData exp)
execute
public Result execute(Session session)
throws StatementException
- Specified by:
execute
in interface Statement
- Throws:
StatementException
Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.