com.jalios.jstore
Class LoadReport

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

public class LoadReport
extends Object
implements Cloneable

This class reports informations about the last load.

Version:
$Revision: 27753 $
Author:
Olivier Dedieu

Field Summary
static String REVISION
           
 
Constructor Summary
LoadReport()
           
 
Method Summary
 void addClassError(LogEntry entry)
          Add a class error
 void addCreateError(LogEntry entry)
          Add a create error
 void addJavaError(LogEntry entry)
          Add a java error
 void addMutationError(LogEntry entry)
          Add a mutation error
 void addStampError(LogEntry entry)
          Add a stamp error
 Object clone()
           
 ArrayList<LogEntry> getClassErrorList()
          Get the value of classErrorList.
 int getCreateCount()
          Get the value of createCount.
 ArrayList<LogEntry> getCreateErrorList()
          Get the value of createErrorList.
 int getDeleteCount()
          Get the value of deleteCount.
 long getDuration()
          Get the value of duration.
 int getErrorCount()
          Return the total count of errors that occured during the load.
 ArrayList<LogEntry> getJavaErrorList()
          Get the value of javaErrorList.
 long getMemoryUsed()
          Get the value of memoryUsed.
 ArrayList<LogEntry> getMutationErrorList()
          Get the value of mutationErrorList.
 int getOpCount()
          Returns the total count of operations in the store.
 StampTable getProgressTable()
          Get the value of progressTable.
 ArrayList<LogEntry> getStampErrorList()
          Get the value of stampErrorList.
 File getStoreFile()
          Get the value of storeFile.
 long getStoreSize()
          Get the value of storeSize.
 int getUpdateCount()
          Get the value of updateCount.
 void incCreateCount()
          Increment create count
 void incDeleteCount()
          Increment delete count
 void incUpdateCount()
          Increment update count
 void setDuration(long v)
          Set the value of duration.
 void setMemoryUsed(long v)
          Set the value of memoryUsed.
 void setProgressTable(StampTable v)
          Set the value of progressTable.
 void setStoreFile(File v)
          Set the value of storeFile.
 void setStoreSize(long v)
          Set the value of storeSize.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REVISION

public static final String REVISION
See Also:
Constant Field Values
Constructor Detail

LoadReport

public LoadReport()
Method Detail

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.

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


Copyright © 2001-2010 Jalios SA. All Rights Reserved.