mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 14:58:47 +00:00
#589 - ElasticSearch, Transaction - rename DocStoreMode and batch size methods
This commit is contained in:
1 parent
a0609b1726
commit
cf825f7ac4
7 files changed
+27
-27
No files matched your search
@@ -147,9 +147,9 @@ public class JdbcTransaction implements SpiTransaction {
|
||||
* The mode for updating doc store indexes for this transaction.
|
||||
* Only set when you want to override the default behavior.
|
||||
*/
|
||||
protected DocStoreMode docStoreUpdateMode;
|
||||
protected DocStoreMode docStoreMode;
|
||||
|
||||
protected int docStoreBulkBatchSize;
|
||||
protected int docStoreBatchSize;
|
||||
|
||||
/**
|
||||
* Create a new JdbcTransaction.
|
||||
@@ -282,22 +282,22 @@ public class JdbcTransaction implements SpiTransaction {
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getDocStoreBulkBatchSize() {
|
||||
return docStoreBulkBatchSize;
|
||||
public int getDocStoreBatchSize() {
|
||||
return docStoreBatchSize;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setDocStoreUpdateBatchSize(int docStoreBulkBatchSize) {
|
||||
this.docStoreBulkBatchSize = docStoreBulkBatchSize;
|
||||
public void setDocStoreBatchSize(int docStoreBatchSize) {
|
||||
this.docStoreBatchSize = docStoreBatchSize;
|
||||
}
|
||||
|
||||
public DocStoreMode getDocStoreUpdateMode() {
|
||||
return docStoreUpdateMode;
|
||||
public DocStoreMode getDocStoreMode() {
|
||||
return docStoreMode;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setDocStoreUpdateMode(DocStoreMode docStoreUpdateMode) {
|
||||
this.docStoreUpdateMode = docStoreUpdateMode;
|
||||
public void setDocStoreMode(DocStoreMode docStoreMode) {
|
||||
this.docStoreMode = docStoreMode;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -69,8 +69,8 @@ public final class PostCommitProcessing {
|
||||
this.clusterManager = clusterManager;
|
||||
this.manager = manager;
|
||||
this.serverName = manager.getServerName();
|
||||
this.txnDocStoreMode = transaction.getDocStoreUpdateMode();
|
||||
this.txnDocStoreBatchSize = transaction.getDocStoreBulkBatchSize();
|
||||
this.txnDocStoreMode = transaction.getDocStoreMode();
|
||||
this.txnDocStoreBatchSize = transaction.getDocStoreBatchSize();
|
||||
this.event = transaction.getEvent();
|
||||
this.deleteByIdMap = event.getDeleteByIdMap();
|
||||
this.persistBeanRequests = event.getPersistRequestBeans();
|
||||
|
||||
Reference in new issue
Block a user