|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<MessageExchange>
org.objectweb.petals.tools.webadmin.bo.ExchangesList
public class ExchangesList
List of MessageExchange objects
Field Summary |
---|
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
ExchangesList()
create an empty new ExchangesList |
|
ExchangesList(java.util.List<java.util.List<java.util.Map<java.lang.String,java.lang.Object>>> bulkDatas)
Creates a new ExchangesList based on bulk datas |
Method Summary | |
---|---|
ExchangesList |
getByComponent(java.lang.String compoName)
|
MessageExchange |
getExchange(java.lang.String id)
Return the Exchange with the given id. |
java.util.List<Message> |
getMessagesByTime(long timestamp)
Returns messages from all exchanges with timestamp corresponding to the second of a given timestamp |
long |
getNbMsgByComponent(java.lang.String compoName)
Returns the number of messages concerning a given component |
long |
getNbMsgByTime(long timestamp)
Returns number of messages from all exchanges with timestamp corresponding to the second of a given timestamp |
boolean |
hasExchange(java.lang.String id)
|
Methods inherited from class java.util.ArrayList |
---|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
---|
equals, hashCode, iterator, listIterator, listIterator, subList |
Methods inherited from class java.util.AbstractCollection |
---|
containsAll, removeAll, retainAll, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList |
Constructor Detail |
---|
public ExchangesList()
public ExchangesList(java.util.List<java.util.List<java.util.Map<java.lang.String,java.lang.Object>>> bulkDatas)
bulkDatas
- datas to transformMethod Detail |
---|
public ExchangesList getByComponent(java.lang.String compoName)
public MessageExchange getExchange(java.lang.String id)
id
- the id of the exchange wanted
public java.util.List<Message> getMessagesByTime(long timestamp)
timestamp
- timestamp of the second wanted
public long getNbMsgByComponent(java.lang.String compoName)
compoName
- the name of the component
public long getNbMsgByTime(long timestamp)
timestamp
- timestamp of the second wanted
public boolean hasExchange(java.lang.String id)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |