org.jbpm.sim.report
Class InMemoryOutput

java.lang.Object
  extended by org.jbpm.sim.report.InMemoryOutput
All Implemented Interfaces:
desmoj.core.report.MessageReceiver

public class InMemoryOutput
extends java.lang.Object
implements desmoj.core.report.MessageReceiver

collects output from DESMO-J and saves them in memory. The statistical figure are copied to a bunch of POJO's (ValueObjects), so the garbage collector can clean up the simulation stuff

Author:
bernd.ruecker@camunda.com

Constructor Summary
InMemoryOutput()
           
 
Method Summary
 ScenarioReport getReport()
           
 void receive(desmoj.core.report.Message m)
          method to be called when a Message is received.
 void receive(desmoj.core.report.Reporter r)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InMemoryOutput

public InMemoryOutput()
Method Detail

receive

public void receive(desmoj.core.report.Reporter r)
Specified by:
receive in interface desmoj.core.report.MessageReceiver

receive

public void receive(desmoj.core.report.Message m)
method to be called when a Message is received. this class does not handle Messages so it will simply return

Specified by:
receive in interface desmoj.core.report.MessageReceiver

getReport

public ScenarioReport getReport()


Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.