hu.mta.sztaki.lpds.cloud.simulator.io
Class NetworkNode.SingleTransfer

java.lang.Object
  extended by hu.mta.sztaki.lpds.cloud.simulator.iaas.resourcemodel.ResourceConsumption
      extended by hu.mta.sztaki.lpds.cloud.simulator.io.NetworkNode.SingleTransfer
Enclosing class:
NetworkNode

static class NetworkNode.SingleTransfer
extends ResourceConsumption

The instances of this class represent an individual data transfer in the system. The visibility of the class and its members are defined so the compiler does not need to generate access methods for the members thus allowing fast and prompt changes in its contents. To create a new instance of this class, one must use the initTransfer method of the NetworkNode. WARNING this is an internal representation of the transfer. This class is not supposed to be used outside of the context of the NetworkNode.

Author:
"Gabor Kecskemeti, Distributed and Parallel Systems Group, University of Innsbruck (c) 2013"

Nested Class Summary
 
Nested classes/interfaces inherited from class hu.mta.sztaki.lpds.cloud.simulator.iaas.resourcemodel.ResourceConsumption
ResourceConsumption.ConsumptionEvent
 
Field Summary
 
Fields inherited from class hu.mta.sztaki.lpds.cloud.simulator.iaas.resourcemodel.ResourceConsumption
limitComparator, unlimitedProcessing
 
Constructor Summary
private NetworkNode.SingleTransfer(int latency, long tottr, double limit, MaxMinConsumer in, MaxMinProvider out, ResourceConsumption.ConsumptionEvent e)
          This constructor describes the basic properties of an individual transfer.
 
Method Summary
 
Methods inherited from class hu.mta.sztaki.lpds.cloud.simulator.iaas.resourcemodel.ResourceConsumption
cancel, getCompletionDistance, getConsumer, getHardLimit, getProcessingLimit, getProvider, getRealLimit, getToBeProcessed, getUnderProcessing, getUnProcessed, isRegistered, isResumable, registerConsumption, setConsumer, setProvider, suspend, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NetworkNode.SingleTransfer

private NetworkNode.SingleTransfer(int latency,
                                   long tottr,
                                   double limit,
                                   MaxMinConsumer in,
                                   MaxMinProvider out,
                                   ResourceConsumption.ConsumptionEvent e)
This constructor describes the basic properties of an individual transfer.

Parameters:
tottr - The amount of data to be transferred during the lifetime of the just created object
e - Specify here the event to be fired when the just created object completes its transfers. With this event it is possible to notify the entity who initiated the transfer.


Copyright © 2012–2015 University of Innsbruck & MTA SZTAKI. All rights reserved.