org.mule.routing.inbound
Class EventGroup

java.lang.Object
  extended byorg.mule.routing.inbound.EventGroup
All Implemented Interfaces:
Serializable

public class EventGroup
extends Object
implements Serializable

EventGroup is a holder over events grouped by a common group Id. This can be used by components such as routers to managed related events.

See Also:
Serialized Form

Constructor Summary
EventGroup(Object groupId)
           
EventGroup(Object groupId, int expectedSize)
           
 
Method Summary
 void addEvent(UMOEvent event)
           
 void clear()
           
 int expectedSize()
           
 long getCreated()
           
 Object getGroupId()
           
 Iterator iterator()
           
 void removeEvent(UMOEvent event)
           
 int size()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EventGroup

public EventGroup(Object groupId)

EventGroup

public EventGroup(Object groupId,
                  int expectedSize)
Method Detail

getGroupId

public Object getGroupId()

iterator

public Iterator iterator()

addEvent

public void addEvent(UMOEvent event)

removeEvent

public void removeEvent(UMOEvent event)

getCreated

public long getCreated()

size

public int size()

clear

public void clear()

expectedSize

public int expectedSize()

toString

public String toString()


Copyright © 2003-2006 MuleSource Inc.. All Rights Reserved.