|
Lightweight Bartering Grid | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlbg.peer.register.bartering.PeerBarteringProfile
public class PeerBarteringProfile
Field Summary | |
---|---|
static int |
MAX_STORED_INTERACTIONS
|
Constructor Summary | |
---|---|
PeerBarteringProfile(Peer managed_peer,
ExternalPeerHandle profiled_peer,
BarteringAccountantPolicy accountant)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int MAX_STORED_INTERACTIONS
Constructor Detail |
---|
public PeerBarteringProfile(Peer managed_peer, ExternalPeerHandle profiled_peer, BarteringAccountantPolicy accountant) throws GridException
GridException
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public BarteringAccountantPolicy getAccountant() throws GridException
GridException
public void setAccountant(BarteringAccountantPolicy accountant) throws GridException
GridException
public double accountSupplyingCompletion(Task t, long xstart_time, long supplied_local_power) throws GridException
GridException
public double accountConsumptionCompletion(Task t, long xstart_time, long consumed_external_power) throws GridException
GridException
public void accountSupplyingCancellation(Task t, long xstart_time) throws GridException
GridException
public void accountConsumptionCancellation(Task t, long xstart_time) throws GridException
GridException
public double getTotalSuppliedFavors()
public double getTotalConsumedFavors()
public double getFavorsBalance()
public long getTotalCompletedConsumptionTasks()
public long getTotalCompletedSupplyingTasks()
public long getTotalCancelledConsumptionTasks()
public long getTotalCancelledSupplyingTasks()
public long getRecentlyCompletedConsumptionTasksCount()
public long getRecentlyCompletedSupplyingTasksCount()
public long getRecentlyCancelledConsumptionTasksCount()
public long getRecentlyCancelledSupplyingTasksCount()
public long getMostRecentConsumptionTaskCancellationTime()
public long getMostRecentSupplyingTaskCancellationTime()
public double getMeanConsumptionCompletionStride()
public double getMeanSupplyingCompletionStride()
public double getConsumptionTasksCompletionRatio()
public double getConsumptionTasksCancellationRatio()
public double getSupplyingTasksCompletionRatio()
public double getSupplyingTasksCancellationRatio()
public double getConsumptionMTTC()
public double getSupplyingMTTC()
public double getConsumptionMTBC()
public double getSupplyingMTBC()
public double getMeanConsumptionTaskRuntime()
public double getMeanSupplyingTaskRuntime()
public double estimateSupplyingTaskRuntime()
public double getConsumptionMC4()
|
Lightweight Bartering Grid | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2005-2008, Cyril Briquet, parts Xavier Dalem.