Rice Pastry API

rice.tutorial.transportlayer
Class NotEnoughBandwidthException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by rice.tutorial.transportlayer.NotEnoughBandwidthException
All Implemented Interfaces:
java.io.Serializable

public class NotEnoughBandwidthException
extends java.io.IOException

See Also:
Serialized Form

Constructor Summary
NotEnoughBandwidthException(long bucketSize, int attemptedToWrite)
           
 
Method Summary
 long getAmountAllowedToWrite()
           
 int getAttemptedToWrite()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NotEnoughBandwidthException

public NotEnoughBandwidthException(long bucketSize,
                                   int attemptedToWrite)
Method Detail

getAmountAllowedToWrite

public long getAmountAllowedToWrite()
Returns:
The amount allowed to write (right now).

getAttemptedToWrite

public int getAttemptedToWrite()
Returns:
The amount we attempted to write.

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection