public class TouchOperation extends TransactionalOperation
codec, name
Constructor | Description |
---|---|
TouchOperation(String name) |
|
TouchOperation(String name,
String lockName) |
Modifier and Type | Method | Description |
---|---|---|
void |
commit(CommandAsyncExecutor commandExecutor) |
|
String |
getLockName() |
|
void |
rollback(CommandAsyncExecutor commandExecutor) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCodec, getName
public TouchOperation(String name)
public void commit(CommandAsyncExecutor commandExecutor)
commit
in class TransactionalOperation
public void rollback(CommandAsyncExecutor commandExecutor)
rollback
in class TransactionalOperation
public String getLockName()
Copyright © 2014–2018 The Redisson Project. All rights reserved.