|
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
lbg.peer.register.bartering.TestPeerBarteringProfile
public class TestPeerBarteringProfile
Field Summary |
---|
Fields inherited from class lbg.peer.register.bartering.PeerBarteringProfile |
---|
MAX_STORED_INTERACTIONS |
Constructor Summary | |
---|---|
TestPeerBarteringProfile(java.lang.String profiled_peer_id,
java.lang.String managed_peer_id)
|
Methods inherited from class lbg.peer.register.bartering.PeerBarteringProfile |
---|
estimateSupplyingTaskRuntime, getConsumptionMC4 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TestPeerBarteringProfile(java.lang.String profiled_peer_id, java.lang.String managed_peer_id) throws GridException
GridException
Method Detail |
---|
public java.lang.String toString()
toString
in class PeerBarteringProfile
public BarteringAccountantPolicy getAccountant() throws GridException
getAccountant
in class PeerBarteringProfile
GridException
public void setAccountant(BarteringAccountantPolicy accountant) throws GridException
setAccountant
in class PeerBarteringProfile
GridException
public double accountSupplyingCompletion(Task t, long xstart_time, long supplied_local_power) throws GridException
accountSupplyingCompletion
in class PeerBarteringProfile
GridException
public double accountConsumptionCompletion(Task t, long xstart_time, long consumed_external_power) throws GridException
accountConsumptionCompletion
in class PeerBarteringProfile
GridException
public void accountSupplyingCancellation(Task t, long xstart_time) throws GridException
accountSupplyingCancellation
in class PeerBarteringProfile
GridException
public void accountConsumptionCancellation(Task t, long xstart_time) throws GridException
accountConsumptionCancellation
in class PeerBarteringProfile
GridException
@Deprecated public long getTotalSuppliedLocalPower()
@Deprecated public long getTotalConsumedExternalPower()
public double getTotalSuppliedFavors()
getTotalSuppliedFavors
in class PeerBarteringProfile
public double getTotalConsumedFavors()
getTotalConsumedFavors
in class PeerBarteringProfile
public double getFavorsBalance()
getFavorsBalance
in class PeerBarteringProfile
public long getTotalCompletedConsumptionTasks()
getTotalCompletedConsumptionTasks
in class PeerBarteringProfile
public long getTotalCompletedSupplyingTasks()
getTotalCompletedSupplyingTasks
in class PeerBarteringProfile
public long getTotalCancelledConsumptionTasks()
getTotalCancelledConsumptionTasks
in class PeerBarteringProfile
public long getTotalCancelledSupplyingTasks()
getTotalCancelledSupplyingTasks
in class PeerBarteringProfile
public long getRecentlyCompletedConsumptionTasksCount()
getRecentlyCompletedConsumptionTasksCount
in class PeerBarteringProfile
public long getRecentlyCompletedSupplyingTasksCount()
getRecentlyCompletedSupplyingTasksCount
in class PeerBarteringProfile
public long getRecentlyCancelledConsumptionTasksCount()
getRecentlyCancelledConsumptionTasksCount
in class PeerBarteringProfile
public long getRecentlyCancelledSupplyingTasksCount()
getRecentlyCancelledSupplyingTasksCount
in class PeerBarteringProfile
public long getMostRecentConsumptionTaskCancellationTime()
getMostRecentConsumptionTaskCancellationTime
in class PeerBarteringProfile
public long getMostRecentSupplyingTaskCancellationTime()
getMostRecentSupplyingTaskCancellationTime
in class PeerBarteringProfile
public double getMeanConsumptionCompletionStride()
getMeanConsumptionCompletionStride
in class PeerBarteringProfile
public double getMeanSupplyingCompletionStride()
getMeanSupplyingCompletionStride
in class PeerBarteringProfile
public double getConsumptionTasksCompletionRatio()
getConsumptionTasksCompletionRatio
in class PeerBarteringProfile
public double getConsumptionTasksCancellationRatio()
getConsumptionTasksCancellationRatio
in class PeerBarteringProfile
public double getSupplyingTasksCompletionRatio()
getSupplyingTasksCompletionRatio
in class PeerBarteringProfile
public double getSupplyingTasksCancellationRatio()
getSupplyingTasksCancellationRatio
in class PeerBarteringProfile
public double getConsumptionMTTC()
getConsumptionMTTC
in class PeerBarteringProfile
public double getSupplyingMTTC()
getSupplyingMTTC
in class PeerBarteringProfile
public double getConsumptionMTBC()
getConsumptionMTBC
in class PeerBarteringProfile
public double getSupplyingMTBC()
getSupplyingMTBC
in class PeerBarteringProfile
public double getMeanConsumptionTaskRuntime()
getMeanConsumptionTaskRuntime
in class PeerBarteringProfile
public double getMeanSupplyingTaskRuntime()
getMeanSupplyingTaskRuntime
in class PeerBarteringProfile
|
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.