org.powertac.visualizer.services
Class WholesaleService

java.lang.Object
  extended by org.powertac.visualizer.services.WholesaleService
All Implemented Interfaces:
Serializable, Recyclable, TimeslotCompleteActivation

@Service
public class WholesaleService
extends Object
implements Serializable, Recyclable, TimeslotCompleteActivation

See Also:
Serialized Form

Constructor Summary
WholesaleService()
           
 
Method Summary
 void activate(int timeslotIndex, org.joda.time.Instant postedTime)
           
 ConcurrentHashMap<Long,ConcurrentHashMap<Long,org.powertac.common.ClearedTrade>> getClearedTrades()
           
 void recycle()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WholesaleService

public WholesaleService()
Method Detail

recycle

public void recycle()
Specified by:
recycle in interface Recyclable

getClearedTrades

public ConcurrentHashMap<Long,ConcurrentHashMap<Long,org.powertac.common.ClearedTrade>> getClearedTrades()

activate

public void activate(int timeslotIndex,
                     org.joda.time.Instant postedTime)
Specified by:
activate in interface TimeslotCompleteActivation
Parameters:
timeslotIndex - index of completed timeslot.


Copyright © 2013 Power TAC. All Rights Reserved.