Class LoadReport

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class LoadReport
    extends java.lang.Object
    implements java.lang.Cloneable
    This class reports informations about the last load.
    Version:
    $Revision: 27753 $
    Author:
    Olivier Dedieu
    • Constructor Detail

      • LoadReport

        public LoadReport()
    • Method Detail

      • clone

        public java.lang.Object clone()
        Overrides:
        clone in class java.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