public class TouchOperation extends TransactionalOperation
codec, name
Constructor and Description |
---|
TouchOperation(String name) |
TouchOperation(String name,
String lockName) |
Modifier and Type | Method and Description |
---|---|
void |
commit(CommandAsyncExecutor commandExecutor) |
String |
getLockName() |
void |
rollback(CommandAsyncExecutor commandExecutor) |
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.