public abstract class LockedBatch<T extends org.camunda.bpm.engine.impl.db.DbEntity> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected com.datastax.driver.core.BatchStatement |
batch |
protected T |
entity |
protected com.datastax.driver.core.BatchStatement |
indexBatch |
protected boolean |
shouldNotLock |
protected String |
version |
| Constructor and Description |
|---|
LockedBatch(T entity) |
| Modifier and Type | Method and Description |
|---|---|
void |
addIndexStatement(com.datastax.driver.core.Statement statement) |
protected abstract void |
addLockStatement(com.datastax.driver.core.BatchStatement batch) |
void |
addStatement(com.datastax.driver.core.Statement statement) |
com.datastax.driver.core.BatchStatement |
getBatch() |
com.datastax.driver.core.BatchStatement |
getIndexBatch() |
String |
getVersion() |
boolean |
isEmpty() |
void |
setShouldNotLock() |
void |
setVersion(String version) |
protected T extends org.camunda.bpm.engine.impl.db.DbEntity entity
protected com.datastax.driver.core.BatchStatement batch
protected com.datastax.driver.core.BatchStatement indexBatch
protected String version
protected boolean shouldNotLock
public LockedBatch(T entity)
public com.datastax.driver.core.BatchStatement getBatch()
public boolean isEmpty()
protected abstract void addLockStatement(com.datastax.driver.core.BatchStatement batch)
public void addStatement(com.datastax.driver.core.Statement statement)
public void addIndexStatement(com.datastax.driver.core.Statement statement)
public void setShouldNotLock()
public com.datastax.driver.core.BatchStatement getIndexBatch()
public String getVersion()
public void setVersion(String version)
Copyright © 2016 camunda services GmbH. All rights reserved.