Class LoadReport

java.lang.Object
com.jalios.jstore.LoadReport
All Implemented Interfaces:
Cloneable

public class LoadReport extends Object implements Cloneable
This class reports informations about the last load.
Author:
Olivier Dedieu
  • Constructor Details

    • LoadReport

      public LoadReport()
  • Method Details

    • clone

      public Object clone()
      Overrides:
      clone in class 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 File getStoreFile()
      Get the value of storeFile.
      Returns:
      Value of storeFile.
    • setStoreFile

      public void setStoreFile(File v)
      Set the value of storeFile.
      Parameters:
      v - Value to assign to storeFile.
    • getStoreFileList

      public List<File> getStoreFileList()
      Get the value of storeFileList.
      Returns:
      Value of storeFileList.
    • setStoreFileList

      public void setStoreFileList(List<File> v)
      Set the value of storeFileList.
      Parameters:
      v - Value to assign to storeFileList.
    • 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
    • getStoreSizeMap

      public Map<File,Long> getStoreSizeMap()
    • setStoreSizeMap

      public void setStoreSizeMap(Map<File,Long> storeSizeMap)
    • getClassErrorList

      public 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 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 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 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 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