org.apache.commons.pipeline.event
Class KeyAvailableEvent<T>
java.lang.Object
java.util.EventObject
org.apache.commons.pipeline.event.KeyAvailableEvent<T>
- All Implemented Interfaces:
- Serializable
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
Method Summary |
T |
getKey()
Returns the key. |
KeyAvailableEvent
public KeyAvailableEvent(Object source,
T key)
- Creates a new instance of KeyAvailableEvent
getKey
public T getKey()
- Returns the key.
Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.