public class JobOperations extends AbstractEntityOperationHandler<org.camunda.bpm.engine.impl.persistence.entity.JobEntity> implements org.camunda.bpm.engine.impl.db.EntityLoadListener
| Modifier and Type | Field and Description |
|---|---|
protected static Map<Class<?>,IndexHandler<org.camunda.bpm.engine.impl.persistence.entity.JobEntity>> |
indexHandlers |
protected static int |
shardInitNumber |
protected static int |
shardSizeMillis |
| Constructor and Description |
|---|
JobOperations(CassandraPersistenceSession cassandraPersistenceSession) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
bindKeyFields(CassandraPersistenceSession session,
org.camunda.bpm.engine.impl.persistence.entity.JobEntity entity,
com.datastax.driver.core.BoundStatement statement) |
void |
delete(CassandraPersistenceSession session,
org.camunda.bpm.engine.impl.persistence.entity.JobEntity entity) |
protected void |
deleteIndex(CassandraPersistenceSession session,
org.camunda.bpm.engine.impl.persistence.entity.JobEntity entity) |
protected Class<org.camunda.bpm.engine.impl.persistence.entity.JobEntity> |
getEntityType() |
static IndexHandler<org.camunda.bpm.engine.impl.persistence.entity.JobEntity> |
getIndexHandler(Class<?> type) |
protected String |
getTableName() |
void |
insert(CassandraPersistenceSession session,
org.camunda.bpm.engine.impl.persistence.entity.JobEntity entity) |
protected void |
insertIndex(CassandraPersistenceSession session,
org.camunda.bpm.engine.impl.persistence.entity.JobEntity entity) |
void |
onEntityLoaded(org.camunda.bpm.engine.impl.db.DbEntity entity) |
static void |
prepare(CassandraProcessEngineConfiguration config) |
void |
update(CassandraPersistenceSession session,
org.camunda.bpm.engine.impl.persistence.entity.JobEntity entity) |
getEntityByIdprotected static int shardSizeMillis
protected static int shardInitNumber
protected static Map<Class<?>,IndexHandler<org.camunda.bpm.engine.impl.persistence.entity.JobEntity>> indexHandlers
public JobOperations(CassandraPersistenceSession cassandraPersistenceSession)
public static void prepare(CassandraProcessEngineConfiguration config)
public void insert(CassandraPersistenceSession session, org.camunda.bpm.engine.impl.persistence.entity.JobEntity entity)
insert in interface EntityOperationHandler<org.camunda.bpm.engine.impl.persistence.entity.JobEntity>protected void insertIndex(CassandraPersistenceSession session, org.camunda.bpm.engine.impl.persistence.entity.JobEntity entity)
protected void bindKeyFields(CassandraPersistenceSession session, org.camunda.bpm.engine.impl.persistence.entity.JobEntity entity, com.datastax.driver.core.BoundStatement statement)
public void delete(CassandraPersistenceSession session, org.camunda.bpm.engine.impl.persistence.entity.JobEntity entity)
delete in interface EntityOperationHandler<org.camunda.bpm.engine.impl.persistence.entity.JobEntity>protected void deleteIndex(CassandraPersistenceSession session, org.camunda.bpm.engine.impl.persistence.entity.JobEntity entity)
public void update(CassandraPersistenceSession session, org.camunda.bpm.engine.impl.persistence.entity.JobEntity entity)
update in interface EntityOperationHandler<org.camunda.bpm.engine.impl.persistence.entity.JobEntity>public void onEntityLoaded(org.camunda.bpm.engine.impl.db.DbEntity entity)
onEntityLoaded in interface org.camunda.bpm.engine.impl.db.EntityLoadListenerprotected Class<org.camunda.bpm.engine.impl.persistence.entity.JobEntity> getEntityType()
getEntityType in class AbstractEntityOperationHandler<org.camunda.bpm.engine.impl.persistence.entity.JobEntity>protected String getTableName()
getTableName in class AbstractEntityOperationHandler<org.camunda.bpm.engine.impl.persistence.entity.JobEntity>public static IndexHandler<org.camunda.bpm.engine.impl.persistence.entity.JobEntity> getIndexHandler(Class<?> type)
Copyright © 2016 camunda services GmbH. All rights reserved.