|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deckfour.xes.model.buffered.XTraceBufferedImpl
public class XTraceBufferedImpl
Soft-buffered implementation of the XTrace interface. Uses the virtual NikeFS filesystem for event log data for transparently storing the data on disk, so that main memory is freed for other tasks.
Field Summary | |
---|---|
static java.lang.String |
ID_PREFIX
ID prefix used for this implementation. |
Constructor Summary | |
---|---|
XTraceBufferedImpl(XAttributeMap attributeMap,
XAttributeMapSerializer attributeMapSerializer)
Creates a new trace. |
Method Summary | ||
---|---|---|
void |
add(int index,
XEvent event)
|
|
boolean |
add(XEvent event)
|
|
boolean |
addAll(java.util.Collection<? extends XEvent> c)
|
|
boolean |
addAll(int index,
java.util.Collection<? extends XEvent> c)
|
|
void |
clear()
|
|
java.lang.Object |
clone()
Creates an identical clone of this trace. |
|
boolean |
consolidate()
Trigger consolidation of this trace. |
|
boolean |
contains(java.lang.Object o)
|
|
boolean |
containsAll(java.util.Collection<?> c)
|
|
protected void |
finalize()
|
|
XEvent |
get(int index)
|
|
XAttributeMap |
getAttributes()
Retrieves the attributes set for this element. |
|
java.util.Set<XExtension> |
getExtensions()
Retrieves the extensions used by this element, i.e. |
|
int |
indexOf(java.lang.Object o)
|
|
int |
insertOrdered(XEvent event)
Insert the event in an ordered manner, if timestamp information is available in this trace. |
|
boolean |
isEmpty()
|
|
java.util.Iterator<XEvent> |
iterator()
|
|
int |
lastIndexOf(java.lang.Object o)
|
|
java.util.ListIterator<XEvent> |
listIterator()
|
|
java.util.ListIterator<XEvent> |
listIterator(int index)
|
|
XEvent |
remove(int index)
|
|
boolean |
remove(java.lang.Object o)
|
|
boolean |
removeAll(java.util.Collection<?> c)
|
|
boolean |
retainAll(java.util.Collection<?> c)
|
|
XEvent |
set(int index,
XEvent event)
|
|
void |
setAttributes(XAttributeMap attributes)
Sets the map of attributes for this element. |
|
int |
size()
|
|
java.util.List<XEvent> |
subList(int fromIndex,
int toIndex)
|
|
java.lang.Object[] |
toArray()
|
|
|
toArray(T[] a)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
equals, hashCode |
Field Detail |
---|
public static final java.lang.String ID_PREFIX
Constructor Detail |
---|
public XTraceBufferedImpl(XAttributeMap attributeMap, XAttributeMapSerializer attributeMapSerializer)
attributeMap
- Map to store the attributes of this trace.attributeMapSerializer
- Serializer used to serialize the attribute maps of events in
this buffered trace.Method Detail |
---|
public XAttributeMap getAttributes()
XAttributable
getAttributes
in interface XAttributable
public java.util.Set<XExtension> getExtensions()
XAttributable
getExtensions
in interface XAttributable
public void setAttributes(XAttributeMap attributes)
XAttributable
setAttributes
in interface XAttributable
attributes
- A map of attributes.public boolean add(XEvent event)
add
in interface java.util.Collection<XEvent>
add
in interface java.util.List<XEvent>
public void add(int index, XEvent event)
add
in interface java.util.List<XEvent>
public boolean addAll(java.util.Collection<? extends XEvent> c)
addAll
in interface java.util.Collection<XEvent>
addAll
in interface java.util.List<XEvent>
public boolean addAll(int index, java.util.Collection<? extends XEvent> c)
addAll
in interface java.util.List<XEvent>
public void clear()
clear
in interface java.util.Collection<XEvent>
clear
in interface java.util.List<XEvent>
public boolean contains(java.lang.Object o)
contains
in interface java.util.Collection<XEvent>
contains
in interface java.util.List<XEvent>
public boolean containsAll(java.util.Collection<?> c)
containsAll
in interface java.util.Collection<XEvent>
containsAll
in interface java.util.List<XEvent>
public XEvent get(int index)
get
in interface java.util.List<XEvent>
public int indexOf(java.lang.Object o)
indexOf
in interface java.util.List<XEvent>
public boolean isEmpty()
isEmpty
in interface java.util.Collection<XEvent>
isEmpty
in interface java.util.List<XEvent>
public java.util.Iterator<XEvent> iterator()
iterator
in interface java.lang.Iterable<XEvent>
iterator
in interface java.util.Collection<XEvent>
iterator
in interface java.util.List<XEvent>
public int lastIndexOf(java.lang.Object o)
lastIndexOf
in interface java.util.List<XEvent>
public java.util.ListIterator<XEvent> listIterator()
listIterator
in interface java.util.List<XEvent>
public java.util.ListIterator<XEvent> listIterator(int index)
listIterator
in interface java.util.List<XEvent>
public boolean remove(java.lang.Object o)
remove
in interface java.util.Collection<XEvent>
remove
in interface java.util.List<XEvent>
public XEvent remove(int index)
remove
in interface java.util.List<XEvent>
public boolean removeAll(java.util.Collection<?> c)
removeAll
in interface java.util.Collection<XEvent>
removeAll
in interface java.util.List<XEvent>
public boolean retainAll(java.util.Collection<?> c)
retainAll
in interface java.util.Collection<XEvent>
retainAll
in interface java.util.List<XEvent>
public XEvent set(int index, XEvent event)
set
in interface java.util.List<XEvent>
public int size()
size
in interface java.util.Collection<XEvent>
size
in interface java.util.List<XEvent>
public java.util.List<XEvent> subList(int fromIndex, int toIndex)
subList
in interface java.util.List<XEvent>
public java.lang.Object[] toArray()
toArray
in interface java.util.Collection<XEvent>
toArray
in interface java.util.List<XEvent>
public <T> T[] toArray(T[] a)
toArray
in interface java.util.Collection<XEvent>
toArray
in interface java.util.List<XEvent>
public java.lang.Object clone()
clone
in interface XElement
clone
in class java.lang.Object
public boolean consolidate()
public int insertOrdered(XEvent event)
event
- the event to be inserted.
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |