mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged SWIFT to HEAD
25250: SWIFT branch moved to 4.0.0 schema 5000 25435: Initial checkin for ALF-7069 25450: ALF-7069: - add maxResults to SOLR DAO - refactoring 25480: ALF-7069: further enhancements + unit tests - include/exclude aspects, store protocol + identifier git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@27999 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -0,0 +1,75 @@
|
||||
package org.alfresco.repo.domain.solr;
|
||||
|
||||
/**
|
||||
* Bean to represent SOLR transaction data.
|
||||
*
|
||||
* @since 4.0
|
||||
*/
|
||||
public class TransactionEntity implements Transaction
|
||||
{
|
||||
private Long id;
|
||||
private Long commitTimeMs;
|
||||
private int updates;
|
||||
private int deletes;
|
||||
|
||||
/**
|
||||
* Required default constructor
|
||||
*/
|
||||
public TransactionEntity()
|
||||
{
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
StringBuilder sb = new StringBuilder(512);
|
||||
sb.append("TransactionEntity")
|
||||
.append("[ ID=").append(id)
|
||||
.append(", updates=").append(updates)
|
||||
.append(", deletes=").append(deletes)
|
||||
.append(", commitTimeMs=").append(commitTimeMs)
|
||||
.append("]");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public int getUpdates()
|
||||
{
|
||||
return updates;
|
||||
}
|
||||
|
||||
public void setUpdates(int updates)
|
||||
{
|
||||
this.updates = updates;
|
||||
}
|
||||
|
||||
public int getDeletes()
|
||||
{
|
||||
return deletes;
|
||||
}
|
||||
|
||||
public void setDeletes(int deletes)
|
||||
{
|
||||
this.deletes = deletes;
|
||||
}
|
||||
|
||||
public Long getCommitTimeMs()
|
||||
{
|
||||
return commitTimeMs;
|
||||
}
|
||||
|
||||
public void setCommitTimeMs(Long commitTimeMs)
|
||||
{
|
||||
this.commitTimeMs = commitTimeMs;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user