org.objectweb.dream.pushwithreturn
Class SynchronizerImpl.WaitingKey

java.lang.Object
  extended byorg.objectweb.dream.pushwithreturn.SynchronizerImpl.WaitingKey
All Implemented Interfaces:
Recyclable
Enclosing class:
SynchronizerImpl

public static class SynchronizerImpl.WaitingKey
extends Object
implements Recyclable

This class represents a waiting key.


Constructor Summary
SynchronizerImpl.WaitingKey()
           
 
Method Summary
 boolean canPass()
          Returns the value of canPass.
 void decrementNbWaitings()
          Decrements the number of waiting calls.
 int getNbWaitings()
          Returns the number of waiting calls.
 Message getReturnMessage()
          Returns the return message.
 void incrementNbWaitings()
          Increments the number of waiting calls.
 void recycle()
           
 void setCanPass(boolean canPass)
          Sets canPass to the given value.
 void setReturnMessage(Message returnMessage)
          Sets the return message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SynchronizerImpl.WaitingKey

public SynchronizerImpl.WaitingKey()
Method Detail

getReturnMessage

public Message getReturnMessage()
Returns the return message.

Returns:
Returns the message.

setReturnMessage

public void setReturnMessage(Message returnMessage)
Sets the return message.

Parameters:
returnMessage - the return message to set.

incrementNbWaitings

public void incrementNbWaitings()
Increments the number of waiting calls.


decrementNbWaitings

public void decrementNbWaitings()
Decrements the number of waiting calls.


getNbWaitings

public int getNbWaitings()
Returns the number of waiting calls.

Returns:
the number of waiting calls.

setCanPass

public void setCanPass(boolean canPass)
Sets canPass to the given value.

Parameters:
canPass - the value to which canPass must be set.

canPass

public boolean canPass()
Returns the value of canPass.

Returns:
the value of canPass.

recycle

public void recycle()
Specified by:
recycle in interface Recyclable
See Also:
Recyclable.recycle()


Copyright © 2003, 2004 - INRIA Rhone-Alpes - All Rights Reserved.