Class KeyAvailableEvent<T>

  extended by java.util.EventObject
      extended by org.apache.commons.pipeline.event.KeyAvailableEvent<T>
All Implemented Interfaces:

public class KeyAvailableEvent<T>
extends EventObject

This event is used to signal the availability of the specified key. This is usually used for inter-branch synchronization using the RaiseKeyAvailableEventStage and/or the KeyWaitBufferStage.

See Also:
Serialized Form

Field Summary
Fields inherited from class java.util.EventObject
Constructor Summary
KeyAvailableEvent(Object source, T key)
          Creates a new instance of KeyAvailableEvent
Method Summary
 T getKey()
          Returns the key.
Methods inherited from class java.util.EventObject
getSource, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public KeyAvailableEvent(Object source,
                         T key)
Creates a new instance of KeyAvailableEvent

Method Detail


public T getKey()
Returns the key.

Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.