Class ReportWriter

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--eduni.simjava.Sim_entity
              |
              +--gridsim.GridSim
                    |
                    +--ReportWriter
All Implemented Interfaces:
java.lang.Runnable

class ReportWriter
extends gridsim.GridSim

A user defined Report Writter Entity.


Field Summary
(package private)  double[] col_values
           
 
Fields inherited from class gridsim.GridSim
input, output, rand, SimulationStartDate
 
Fields inherited from class eduni.simjava.Sim_entity
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ReportWriter(java.lang.String entity_name, int no_of_users, int no_of_resources, java.lang.String report_filename, java.lang.String[] stat_category, boolean new_grid_report_flag, double[] col_values, boolean matrix_report_next_row_flag, double row_value)
           
 
Method Summary
 void body()
           
 
Methods inherited from class gridsim.GridSim
Clock, finalize, GetEntityId, GetEntityName, GetEntityName, GetGridResourceList, GetResourceCharacteristics, GetResourceDynamicInformation, GetSimulationStartDate, GridInformationServiceEntityId, GridletCancel, GridletReceive, GridletSubmit, GridSimHold, GridSimShutdownEntityId, GridStatisticsEntityId, Init, IsNetworked, ReceiveEventObject, ReceiveEventObject, RecordStatistics, RecordStatistics, RecordStatistics, RecordStatistics, Send, Send, Send, Send, Send, Send, ShutdownGridStatisticsEntity, ShutdownUserEntity, Start, Stop, TerminateInputOutputEntities
 
Methods inherited from class eduni.simjava.Sim_entity
add_param, add_port, get_id, get_name, get_port, get_port, run, send_on, set_invisible, sim_cancel, sim_current, sim_get_next, sim_get_next, sim_hold_for, sim_hold, sim_putback, sim_schedule, sim_schedule, sim_schedule, sim_schedule, sim_schedule, sim_schedule, sim_select, sim_trace, sim_wait_for, sim_wait, sim_waiting, sim_waiting
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

col_values

double[] col_values
Constructor Detail

ReportWriter

public ReportWriter(java.lang.String entity_name,
                    int no_of_users,
                    int no_of_resources,
                    java.lang.String report_filename,
                    java.lang.String[] stat_category,
                    boolean new_grid_report_flag,
                    double[] col_values,
                    boolean matrix_report_next_row_flag,
                    double row_value)
Method Detail

body

public void body()
Overrides:
body in class eduni.simjava.Sim_entity