org.objectweb.dream.pushwithreturn
Interface WaitingKeys

All Known Implementing Classes:
WaitingKeysImpl

public interface WaitingKeys

This component manages WaitingKeyobjects. It maps them to Keyobjects.


Field Summary
static String ITF_NAME
          The commonly used name to refer to this interface.
 
Method Summary
 WaitingKey createWaitingKey(Key key)
          Creates a WaitingKeyobject for the given key.
 WaitingKey removeWaitingKey(Key key)
          Returns the WaitingKeyobject corresponding to the given key.
 Iterator removeWaitingKeys(Key key)
          Returns an iterator over WaitingKeyobjects corresponding to the keys that are associated to the given key (that is an "isAll" key).
 

Field Detail

ITF_NAME

static final String ITF_NAME
The commonly used name to refer to this interface.

See Also:
Constant Field Values
Method Detail

removeWaitingKey

WaitingKey removeWaitingKey(Key key)
                            throws InterruptedException
Returns the WaitingKeyobject corresponding to the given key.

Parameters:
key - the key that maps the returned WaitingKey object.
Returns:
a WaitingKey object if one maps the given key, null otherwise.
Throws:
InterruptedException - if an exception occurs.

removeWaitingKeys

Iterator removeWaitingKeys(Key key)
                           throws InterruptedException
Returns an iterator over WaitingKeyobjects corresponding to the keys that are associated to the given key (that is an "isAll" key).

Parameters:
key - the "isAll" key that maps the returned keys.
Returns:
an iterator over WaitingKey objects.
Throws:
InterruptedException - if an exception occurs.

createWaitingKey

WaitingKey createWaitingKey(Key key)
                            throws InterruptedException
Creates a WaitingKeyobject for the given key.

Parameters:
key - the key for which a WaitingKey object must be created.
Returns:
the created WaitingKey object.
Throws:
InterruptedException - if an exception occurs.


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