Package com.jalios.jstore
Class LoadReport
- java.lang.Object
 - 
- com.jalios.jstore.LoadReport
 
 
- 
- All Implemented Interfaces:
 java.lang.Cloneable
public class LoadReport extends java.lang.Object implements java.lang.CloneableThis class reports informations about the last load.- Version:
 - $Revision: 27753 $
 - Author:
 - Olivier Dedieu
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static java.lang.StringREVISION 
- 
Constructor Summary
Constructors Constructor Description LoadReport() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddClassError(LogEntry entry)Add a class errorvoidaddCreateError(LogEntry entry)Add a create errorvoidaddJavaError(LogEntry entry)Add a java errorvoidaddMutationError(LogEntry entry)Add a mutation errorvoidaddStampError(LogEntry entry)Add a stamp errorjava.lang.Objectclone()java.util.ArrayList<LogEntry>getClassErrorList()Get the value of classErrorList.intgetCreateCount()Get the value of createCount.java.util.ArrayList<LogEntry>getCreateErrorList()Get the value of createErrorList.intgetDeleteCount()Get the value of deleteCount.longgetDuration()Get the value of duration.intgetErrorCount()Return the total count of errors that occured during the load.java.util.ArrayList<LogEntry>getJavaErrorList()Get the value of javaErrorList.longgetMemoryUsed()Get the value of memoryUsed.java.util.ArrayList<LogEntry>getMutationErrorList()Get the value of mutationErrorList.intgetOpCount()Returns the total count of operations in the store.StampTablegetProgressTable()Get the value of progressTable.java.util.ArrayList<LogEntry>getStampErrorList()Get the value of stampErrorList.java.io.FilegetStoreFile()Get the value of storeFile.longgetStoreSize()Get the value of storeSize.intgetUpdateCount()Get the value of updateCount.voidincCreateCount()Increment create countvoidincDeleteCount()Increment delete countvoidincUpdateCount()Increment update countvoidsetDuration(long v)Set the value of duration.voidsetMemoryUsed(long v)Set the value of memoryUsed.voidsetProgressTable(StampTable v)Set the value of progressTable.voidsetStoreFile(java.io.File v)Set the value of storeFile.voidsetStoreSize(long v)Set the value of storeSize. 
 - 
 
- 
- 
Field Detail
- 
REVISION
public static final java.lang.String REVISION
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
clone
public java.lang.Object clone()
- Overrides:
 clonein classjava.lang.Object
 
- 
getOpCount
public int getOpCount()
Returns the total count of operations in the store. I.E. create ops + update ops + delete ops. Currently InnerLogEntry are not take into account- Returns:
 - the total count of store operations
 
 
- 
getErrorCount
public int getErrorCount()
Return the total count of errors that occured during the load. I.E. class errors + create errors + mutation errors + stamp errors.- Returns:
 - the total count of errors
 
 
- 
getStoreFile
public java.io.File getStoreFile()
Get the value of storeFile.- Returns:
 - Value of storeFile.
 
 
- 
setStoreFile
public void setStoreFile(java.io.File v)
Set the value of storeFile.- Parameters:
 v- Value to assign to storeFile.
 
- 
getCreateCount
public int getCreateCount()
Get the value of createCount.- Returns:
 - Value of createCount.
 
 
- 
incCreateCount
public void incCreateCount()
Increment create count 
- 
getUpdateCount
public int getUpdateCount()
Get the value of updateCount.- Returns:
 - Value of updateCount.
 
 
- 
incUpdateCount
public void incUpdateCount()
Increment update count 
- 
getDeleteCount
public int getDeleteCount()
Get the value of deleteCount.- Returns:
 - Value of deleteCount.
 
 
- 
incDeleteCount
public void incDeleteCount()
Increment delete count 
- 
getProgressTable
public StampTable getProgressTable()
Get the value of progressTable.- Returns:
 - Value of progressTable.
 
 
- 
setProgressTable
public void setProgressTable(StampTable v)
Set the value of progressTable.- Parameters:
 v- Value to assign to progressTable.
 
- 
getDuration
public long getDuration()
Get the value of duration.- Returns:
 - Value of duration.
 
 
- 
setDuration
public void setDuration(long v)
Set the value of duration.- Parameters:
 v- Value to assign to duration.
 
- 
getMemoryUsed
public long getMemoryUsed()
Get the value of memoryUsed.- Returns:
 - Value of memoryUsed.
 - Since:
 - jcms-5.0.1
 
 
- 
setMemoryUsed
public void setMemoryUsed(long v)
Set the value of memoryUsed.- Parameters:
 v- Value to assign to memoryUsed.- Since:
 - jcms-5.5.0
 
 
- 
getStoreSize
public long getStoreSize()
Get the value of storeSize.- Returns:
 - Value of storeSize.
 - Since:
 - jcms-5.5.0
 
 
- 
setStoreSize
public void setStoreSize(long v)
Set the value of storeSize.- Parameters:
 v- Value to assign to storeSize.- Since:
 - jcms-5.5.0
 
 
- 
getClassErrorList
public java.util.ArrayList<LogEntry> getClassErrorList()
Get the value of classErrorList.- Returns:
 - Value of classErrorList.
 
 
- 
addClassError
public void addClassError(LogEntry entry)
Add a class error- Parameters:
 entry- the erroneous log entry
 
- 
getCreateErrorList
public java.util.ArrayList<LogEntry> getCreateErrorList()
Get the value of createErrorList.- Returns:
 - Value of createErrorList.
 
 
- 
addCreateError
public void addCreateError(LogEntry entry)
Add a create error- Parameters:
 entry- the erroneous log entry
 
- 
getMutationErrorList
public java.util.ArrayList<LogEntry> getMutationErrorList()
Get the value of mutationErrorList.- Returns:
 - Value of mutationErrorList.
 
 
- 
addMutationError
public void addMutationError(LogEntry entry)
Add a mutation error- Parameters:
 entry- the erroneous log entry
 
- 
getStampErrorList
public java.util.ArrayList<LogEntry> getStampErrorList()
Get the value of stampErrorList.- Returns:
 - Value of stampErrorList.
 
 
- 
addStampError
public void addStampError(LogEntry entry)
Add a stamp error- Parameters:
 entry- the erroneous log entry
 
- 
getJavaErrorList
public java.util.ArrayList<LogEntry> getJavaErrorList()
Get the value of javaErrorList.- Returns:
 - Value of javaErrorList.
 
 
- 
addJavaError
public void addJavaError(LogEntry entry)
Add a java error- Parameters:
 entry- the erroneous log entry
 
 - 
 
 -